PR pixi-reels

ReelMaskRect

pixi-reels


pixi-reels / index / ReelMaskRect

Interface: ReelMaskRect

Defined in: core/ReelViewport.ts:8

Bounding rectangle for one reel. what MaskStrategy builds the clip geometry from. Local to ReelViewport (origin = viewport top-left).

Properties

PropertyTypeDescriptionDefined in
heightnumberHeight of the reel box. equals reel.reelHeight.core/ReelViewport.ts:16
widthnumberWidth of the reel column. equals one symbol cell wide.core/ReelViewport.ts:14
xnumberLeft edge of the reel column (= reel.container.x).core/ReelViewport.ts:10
ynumberTop edge of the reel box (= reel.offsetY).core/ReelViewport.ts:12