Methods
-
popMask(renderer)
-
Restores the current drawing context to the state it was before the mask was applied.
Parameters:
Name Type Description renderer
PIXI.WebGLRenderer | PIXI.CanvasRenderer The renderer context to use.
-
pushMask(maskData, renderer)
-
This method adds it to the current stack of masks.
Parameters:
Name Type Description maskData
object the maskData that will be pushed
renderer
PIXI.WebGLRenderer | PIXI.CanvasRenderer The renderer context to use.