Class draw2d.Color

Object
   |
   +--draw2d.Color

class draw2d.Color

Defined in Color.js

Version: 0.9.14

Author: Andreas Herz


Constructor Summary
draw2d.Color ( red, green , blue)
           
 
Method Summary
 draw2d.Color darker(<float> fraction)
           Returns a darker color of the given one..
 int getBlue()
           Return the [blue] part of the color.
 int getGreen()
           Return the [green] part of the color.
 draw2d.Color getIdealTextColor()
           Returns the ideal Text Color.
 int getRed()
           Return the [red] part of the color.
 draw2d.Color lighter( <float> fraction)
           Make a color lighter.

Constructor Detail

draw2d.Color

draw2d.Color( red, green , blue)

Method Detail

darker

draw2d.Color darker(<float> fraction)

getBlue

int getBlue()

getGreen

int getGreen()

getIdealTextColor

draw2d.Color getIdealTextColor()

getRed

int getRed()

lighter

draw2d.Color lighter( <float> fraction)


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008