RoundedRectMaskOptions
pixi-reels / index / RoundedRectMaskOptions
Interface: RoundedRectMaskOptions
Defined in: core/maskStrategies.ts:113
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
corners? | MaskCorners | Which 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 |
radius | number | Corner radius in pixels. Pixi clamps it per corner to half the shorter adjacent edge. | core/maskStrategies.ts:115 |
scope? | RoundedMaskScope | Which boxes get rounded. Default 'set'. | core/maskStrategies.ts:117 |