Create MaskData
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
maskObject |
PIXI.DisplayObject |
<optional> |
null |
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 | Attributes | Description |
---|---|---|---|
maskAbove |
PIXI.MaskData | unknown |
<optional> |
resets the mask data after popMask()