PIXI.CanvasGraphicsRenderer
protected class CanvasGraphicsRenderer
Renderer dedicated to drawing and batching graphics objects.
Constructor
new PIXI.CanvasGraphicsRenderer(renderer: PIXI.CanvasRenderer) → {}
Name | Type | Description |
---|---|---|
renderer | PIXI.CanvasRenderer |
A reference to the current renderer. |
Summary
Properties from CanvasGraphicsRenderer
PIXI.CanvasRenderer |
A reference to the current renderer |
Methods from CanvasGraphicsRenderer
void |
destroy graphics object |
void |
|
Public Properties
renderer: PIXI.CanvasRenderer
A reference to the current renderer
Public Methods
destroy() → {void}
destroy graphics object
Type | Description |
---|---|
void |
render(graphics: PIXI.Graphics) → {void}
Renders a Graphics object to a canvas.
Name | Type | Description |
---|---|---|
graphics | PIXI.Graphics |
the actual graphics object to render |
Type | Description |
---|---|
void |