LogoPixi’VN
pixi-jsType aliases

Type Alias: RectangleLike

> RectangleLike = object

Defined in: node_modules/pixi.js/lib/culling/Culler.d.ts:9

A rectangle-like object that contains x, y, width, and height properties.

Example

const rect = { x: 0, y: 0, width: 100, height: 100 };

Advanced

Properties

height

> height: number

Defined in: node_modules/pixi.js/lib/culling/Culler.d.ts:13


width

> width: number

Defined in: node_modules/pixi.js/lib/culling/Culler.d.ts:12


x

> x: number

Defined in: node_modules/pixi.js/lib/culling/Culler.d.ts:10


y

> y: number

Defined in: node_modules/pixi.js/lib/culling/Culler.d.ts:11