A set of functions used to handle masking.
Restores the current drawing context to the state it was before the mask was applied.
Name | Type | Description |
---|---|---|
renderSession | Object | The renderSession whose context will be used for this mask manager. |
This method adds it to the current stack of masks.
Name | Type | Description |
---|---|---|
maskData | Object | the maskData that will be pushed |
renderSession | Object | The renderSession whose context will be used for this mask manager. |
© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/PIXI.CanvasMaskManager.html