CanvasMaskManager Class
A set of functions used to handle masking.
Constructor
CanvasMaskManager
()
Methods
popMask
(
-
renderSession
Restores the current drawing context to the state it was before the mask was applied.
Parameters:
-
renderSessionObjectThe renderSession whose context will be used for this mask manager.
pushMask
(
-
maskData -
renderSession
This method adds it to the current stack of masks.
Parameters:
-
maskDataObjectthe maskData that will be pushed
-
renderSessionObjectThe renderSession whose context will be used for this mask manager.
