Class Index

Classes


Class Annotations.Color

Represents a class that contains a color's RGB and alpha value.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new instance of Color.
Field Summary
Field Attributes Field Name and Description
 
A
the A (alpha) value (0-1.0)
 
B
the B (blue) value (0-255)
 
G
the G (green) value (0-255)
 
R
the R (red) value (0-255)
Method Summary
Method Attributes Method Name and Description
 
Outputs the current color as a CSS3 RGB color string.
Class Detail
Annotations.Color()
Creates a new instance of Color.
Field Detail
{number} A
the A (alpha) value (0-1.0)

{number} B
the B (blue) value (0-255)

{number} G
the G (green) value (0-255)

{number} R
the R (red) value (0-255)
Method Detail
toString()
Outputs the current color as a CSS3 RGB color string.
ex. "rgb(0,0,0)" or "rgba(0,255,0,0.5)"

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Feb 13 2013 12:56:29 GMT-0800 (PST)