pixi-reels

API reference

CellBounds

pixi-reels


pixi-reels / index / CellBounds

Defined in: config/types.ts:774

Axis-aligned bounding box of a single grid cell in ReelSet-local coordinates. Returned by reelSet.getCellBounds(reel, cell).

Use this to draw paylines, hit areas, debug overlays, or any graphic that needs to align precisely with a visible symbol cell.

Properties#

PropertyTypeDescriptionDefined in
heightnumberCell height. equals the configured symbol height.config/types.ts:782
widthnumberCell width. equals the configured symbol width.config/types.ts:780
xnumberLeft edge of the cell in ReelSet-local pixels.config/types.ts:776
ynumberTop edge of the cell in ReelSet-local pixels.config/types.ts:778