|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Color
Defined in color.js
Field Summary | |
Object |
b
|
Object |
Desaturated
|
Object |
g
|
Object |
Luminosity
|
Object |
r
|
Constructor Summary | |
Color(r, g, b)
|
Method Summary | |
Object
|
hs(nStr)
|
Object
|
hsl()
Converts an RGB color value to HSL. |
Object
|
hslToRgb(h, s, l)
Converts an HSL color value to RGB. |
Object
|
hsv()
Converts an RGB color value to HSV. |
Object
|
hsvToRgb(h, s, v)
Converts an HSV color value to RGB. |
Object
|
lightColor()
Provide |
Object
|
toString()
|
void
|
update(r, g, b)
|
Field Detail |
Object b
Object Desaturated
Object g
Object Luminosity
Object r
Constructor Detail |
Color(r, g, b)
Method Detail |
Object hs(nStr)
Object hsl()
Number
- r The red color value
Number
- g The green color value
Number
- b The blue color value
Object hslToRgb(h, s, l)
Number
- h The hue
Number
- s The saturation
Number
- l The lightness
Object hsv()
Number
- r The red color value
Number
- g The green color value
Number
- b The blue color value
Object hsvToRgb(h, s, v)
Number
- h The hue
Number
- s The saturation
Number
- v The value
Object lightColor()
Object toString()
void update(r, g, b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |