Class draw2d.Color
Object
|
+--draw2d.Color
- class
draw2d.Color
Defined in Color.js
Version: 0.9.14
Author: Andreas Herz
draw2d.Color
draw2d.Color( red, green , blue)
Version: 0.9.14
Author: Andreas Herz
darker
draw2d.Color darker(<float> fraction)
Returns a darker color of the given one..
Parameters:
fraction - Darkness fraction.
getBlue
int getBlue()
Return the [blue] part of the color.
getGreen
int getGreen()
Return the [green] part of the color.
getIdealTextColor
draw2d.Color getIdealTextColor()
Returns the ideal Text Color. Usefull for font color selection by a given background color.
getRed
int getRed()
Return the [red] part of the color.
lighter
draw2d.Color lighter( <float> fraction)
Parameters:
fraction - Darkness fraction.
Documentation generated by
JSDoc on Thu Feb 7 23:45:47 2008