Skip to content

Documentation / base / PackRect

Type Alias: PackRect ​

PackRect = object

Defined in: libs/base/src/rectspacker.ts:7

The type of packed result.

Properties ​

x ​

x: number

Defined in: libs/base/src/rectspacker.ts:9

x position of the rect


y ​

y: number

Defined in: libs/base/src/rectspacker.ts:11

y position of the rect


width ​

width: number

Defined in: libs/base/src/rectspacker.ts:13

width of the rect


height ​

height: number

Defined in: libs/base/src/rectspacker.ts:15

height of the rect


binIndex ​

binIndex: number

Defined in: libs/base/src/rectspacker.ts:17

the image index

Released under the MIT License.