Name | Type | Description |
---|---|---|
renderer |
PIXI.CanvasRenderer |
The current PIXI renderer. |
Methods
-
destroy graphics object
-
Renders a Graphics object to a canvas.
Name Type Description graphics
PIXI.Graphics the actual graphics object to render
-
Renders a polygon.
Name Type Description points
Array.<PIXI.Point> The points to render
close
boolean Should the polygon be closed
context
CanvasRenderingContext2D The rendering context to use
-
Updates the tint of a graphics object
Name Type Description graphics
PIXI.Graphics the graphics that will have its tint updated