Skip to content

maxrects-packer / IRectangle

Interface: IRectangle ​

Defined in: geom/Rectangle.ts:38

A rect the packer has placed: an IRectangleInput plus the x/y the packer wrote onto it.

Extends ​

Indexable ​

[propName: string]: any

Properties ​

height ​

height: number

Defined in: geom/Rectangle.ts:12

Inherited from ​

IRectangleInput.height


width ​

width: number

Defined in: geom/Rectangle.ts:11

Inherited from ​

IRectangleInput.width


x ​

x: number

Defined in: geom/Rectangle.ts:39


y ​

y: number

Defined in: geom/Rectangle.ts:40