CellBounds
pixi-reels
pixi-reels / index / CellBounds
Interface: CellBounds
Defined in: config/types.ts:267
Axis-aligned bounding box of a single grid cell in ReelSet-local
coordinates. Returned by reelSet.getCellBounds(col, row).
Use this to draw paylines, hit areas, debug overlays, or any graphic
that needs to align precisely with a visible symbol cell.
Properties
| Property | Type | Description | Defined in |
|---|
height | number | Cell height. equals the configured symbol height. | config/types.ts:275 |
width | number | Cell width. equals the configured symbol width. | config/types.ts:273 |
x | number | Left edge of the cell in ReelSet-local pixels. | config/types.ts:269 |
y | number | Top edge of the cell in ReelSet-local pixels. | config/types.ts:271 |