Class: CanvasGraphicsRenderer

PIXI.CanvasGraphicsRenderer

Renderer dedicated to drawing and batching graphics objects.

new PIXI.CanvasGraphicsRenderer (renderer) protected

Name Type Description
renderer PIXI.CanvasRenderer

The current PIXI renderer.

Methods

destroy graphics object

render (graphics)

Renders a Graphics object to a canvas.

Name Type Description
graphics PIXI.Graphics

the actual graphics object to render

updateGraphicsTint (graphics) protected

Updates the tint of a graphics object

Name Type Description
graphics PIXI.Graphics

the graphics that will have its tint updated