Name | Type | Description |
---|---|---|
renderer |
SINT.CanvasRenderer |
The canvas renderer. |
Methods
-
Destroys this canvas mask manager.
-
Restores the current drawing context to the state it was before the mask was applied.
Name Type Description renderer
SINT.CanvasRenderer The renderer context to use.
-
This method adds it to the current stack of masks.
Name Type Description maskData
object the maskData that will be pushed
-
Renders a SINT.Graphics shape.
Name Type Description graphics
SINT.Graphics The object to render.