Class GraphicsCommand

A helper class for Graphics.

Methods

GraphicsCommand(type, data) constructor

Creates new instance of GraphicsCommand

Parameters
type : GraphicsCommandTypedata : Array.<*>
getNumber(ix) method

Returns value at given index as a number. Used for GCC only.

Parameters
ix : number
Returns
number
getString(ix) method

Returns value at given index as a string. Used for GCC only.

Parameters
ix : number
Returns
string
getBoolean(ix) method

Returns value at given index as a string. Used for GCC only.

Parameters
ix : number
Returns
boolean
getObject(ix) method

Returns value at given index as an object. Used for GCC only.

Parameters
ix : number
Returns
Object

Properties

type property

data property

data[undefined] property

data[undefined] property

data[undefined] property

data[undefined] property