Interface: IGraphicsRenderer
2D vector primitives. Used by GraphicsRenderSystem and as a mask source for MaskSystem.
Methods
CreateGraphics()
ts
CreateGraphics(): number;Returns
number
DestroyGraphics()
ts
DestroyGraphics(handle): void;Parameters
| Parameter | Type |
|---|---|
handle | number |
Returns
void
SetGraphicsShapes()
ts
SetGraphicsShapes(handle, shapes): void;Replaces — wipes path/fills/strokes and replays from shapes.
Parameters
| Parameter | Type |
|---|---|
handle | number |
shapes | readonly GraphicsShape[] |
Returns
void