pixi-reels

RoundedRectMaskOptions

pixi-reels


pixi-reels / index / RoundedRectMaskOptions

Interface: RoundedRectMaskOptions

Defined in: core/maskStrategies.ts:113

Properties#

PropertyTypeDescriptionDefined in
corners?MaskCornersWhich corners may round at all. Default: all four. With scope: 'set' these are the corners of the union box; with 'reel' the same corners of every reel; with 'outer' the box corners that are also listed here. The way a 1x1 Hold & Win cell rounds only the board corner it sits on - see HoldAndWinBuilder.cellMask.core/maskStrategies.ts:125
radiusnumberCorner radius in pixels. Pixi clamps it per corner to half the shorter adjacent edge.core/maskStrategies.ts:115
scope?RoundedMaskScopeWhich boxes get rounded. Default 'set'.core/maskStrategies.ts:117