Zia.Color4 Class

Represents a 4-component color with red, green, blue and alpha components.

Constructor

Name Description
Color4

Constructs a new Color4 object.

Properties

Name Description
a

The alpha component.

b

The blue component.

g

The green component.

r

The red component.


Constructor

new Zia.Color4 (r, g, b, a) constructor

Defined in Color4.js:14

Constructs a new Color4 object.

Parameters

Name Type Description
r Number

The value for the red component.

g Number

The value for the green component.

b Number

The value for the blue component.

a Number

The value for the alpha component.


Properties

a Number property

Defined in Color4.js:37

The alpha component.

b Number property

Defined in Color4.js:31

The blue component.

g Number property

Defined in Color4.js:25

The green component.

r Number property

Defined in Color4.js:19

The red component.