Create MaskData
Name | Type | Default | Description |
---|---|---|---|
maskObject |
PIXI.DisplayObject | null |
optional
object that describes the mask |
Members
-
_scissorRect PIXI.Rectangle
-
Scissor operation above the mask in stack. Null if _scissorCounter is zero, rectangle instance if positive.
-
Whether we know the mask type beforehand
- Default Value:
- true
-
Indicator of the type
-
maskObject PIXI.DisplayObject
-
Which element we use to mask
-
Whether it belongs to MaskSystem pool
-
type PIXI.MASK_TYPES
-
Mask type
Methods
-
copies counters from maskData above, called from pushMask()
Name Type Description maskAbove
PIXI.MaskData | null -
resets the mask data after popMask()