Class: Circle

PIXI.Circle

Circle class from PixiJS.

new PIXI.Circle ()

Methods

getMesh (shape, totalSegments, vertices, indices) PIXI.lights.CircleMeshData

Creates vertices and indices arrays to describe this circle.

Name Type Attributes Default Description
shape PIXI.Circle
totalSegments number <optional>
40

Total segments to build for the circle mesh.

vertices Float32Array <optional>
indices Uint16Array <optional>

((totalSegments + 2) * 2) or more. If not passed it is created for you. be (totalSegments + 3) or more. If not passed it is created for you.

Returns:
Type Description
PIXI.lights.CircleMeshData Object with verticies and indices arrays