Class Index | File Index

Classes


Class createjs.Color


Extends .

Defined in: color.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
createjs.Color(red, green, blue, alpha)
A class representing an ARGB color.
Field Summary
Field Attributes Field Name and Description
 
The alpha component.
 
The blue component.
 
The green component.
 
The red component.
Method Summary
Method Attributes Method Name and Description
 
addColor(color)
Adds the specified color with this color.
 
copyColor(color)
Copies the specified color to this color.
 
Returns the alpha component of this color.
 
Returns the blue component of this color.
 
Returns the green component of this color.
 
Returns the red component of this color.
 
Multiplies the specified color with this color.
Class Detail
createjs.Color(red, green, blue, alpha)
A class representing an ARGB color.
Parameters:
{number} red
{number} green
{number} blue
{number} alpha
Field Detail
alpha_
The alpha component.

blue_
The blue component.

green_
The green component.

red_
The red component.
Method Detail
addColor(color)
Adds the specified color with this color.
Parameters:
{createjs.Color} color

copyColor(color)
Copies the specified color to this color.
Parameters:
{createjs.Color} color

{number} getAlpha()
Returns the alpha component of this color.
Returns:
{number}

{number} getBlue()
Returns the blue component of this color.
Returns:
{number}

{number} getGreen()
Returns the green component of this color.
Returns:
{number}

{number} getRed()
Returns the red component of this color.
Returns:
{number}

multiplyColor(color)
Multiplies the specified color with this color.
Parameters:
{createjs.Color} color

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:27 GMT+0900 (JST)