CellRect
Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:51
A rectangular sub-region of a sprite/tile sheet, in pixels. The origin is the
sheet’s top-left; x/y locate the cell’s top-left corner.
Properties
Section titled “Properties”height
Section titled “height”height:
number
Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:55
width:
number
Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:54
x:
number
Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:52
y:
number
Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:53