Class: CanvasGraphicsRenderer

PIXI~CanvasGraphicsRenderer

专门用于绘制和批处理图形对象的渲染器。

new CanvasGraphicsRenderer (renderer) protected

Name Type Description
renderer PIXI.CanvasRenderer

当前的PIXI渲染器。

Methods

销毁图形对象

render (graphics)

将Graphics对象渲染到画布。

Name Type Description
graphics PIXI.Graphics

要渲染的实际图形对象

updateGraphicsTint (graphics) protected

更新图形对象的色彩

Name Type Description
graphics PIXI.Graphics

将更新其色调的图形