Global

Members

cachednumber

tint of the line to draw

cachednumber

tint of the fill

constantFILTER_RESOLUTIONnumber

Default filter resolution.

shape object to draw.

Thenumber

type of the shape, see the Const.Shapes file for all the existing types,

thenumber

color of the fill

thenumber

alpha of the line to draw

thenumber

alpha of the fill

thenumber

width of the line to draw

thenumber

color of the line to draw

whetherboolean

or not the shape is filled with a colour

Methods

getColor(color){string}

Utility function to convert hexadecimal colors to strings, and simply return the color if it's a string.

Name Type Description
color number | Array.<number>
Returns:
Type Description
string The color as a string.

Skips the hello message of renderers that are created after this is run.

Type Definitions

DecomposedDataUriobject

Typedef for decomposeDataUri return object.

Properties:
Name Type Description
Media mediaType

type, eg. image

Sub subType

type, eg. png

Data encoding

encoding, eg. base64

The data

actual data

FrameObjectobject

Properties:
Name Type Description
texture PIXI.Texture

The PIXI.Texture of the frame

time number

the duration of the frame in ms

Sizeobject

Typedef for Size object.

Properties:
Name Type Description
Width width

component

Height height

component