new PIXI.StencilSystem (renderer) overrides
| Name | Type | Description |
|---|---|---|
renderer |
PIXI.Renderer |
The renderer this System works for. |
Extends
Methods
Pops stencil mask. MaskData is already removed from stack
| Name | Type | Description |
|---|---|---|
maskObject |
PIXI.DisplayObject |
object of popped mask data |
Applies the Mask and adds it to the current stencil stack.
| Name | Type | Description |
|---|---|---|
maskData |
PIXI.MaskData |
The mask data |
Inherited Properties
From class PIXI.AbstractMaskSystem
maskStack Array<PIXI.MaskData> protected inherited
The mask stack
Inherited Methods
From class PIXI.AbstractMaskSystem
destroy () void inherited
Destroys the mask stack.
getStackLength () number inherited
Gets count of masks of certain type.
Returns:
| Type | Description |
|---|---|
| number |
setMaskStack (maskStack) void inherited
Changes the mask stack that is used by this System.
| Name | Type | Description |
|---|---|---|
maskStack |
Array<PIXI.MaskData> |
The mask stack |