|
Webnote | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--ColorHSV
A class representing a color as HSV values.
Defined in objects.js
| Field Summary | |
Object |
h
|
Object |
s
|
Object |
v
|
| Constructor Summary | |
ColorHSV
(<Color> rgb)
Create a new object to represent a color in HSV. |
|
| Method Summary | |
ColorHSV
|
adj(<int> h, <int> s, <int> v)
Adjust the HSV values of the object. |
Color
|
toColor()
Convert the HSV value to RGB and return a Color object. |
String
|
toString()
A pretty way to write out the value of a HSV point. |
| Field Detail |
Object h
Object s
Object v
| Constructor Detail |
ColorHSV(<Color> rgb)
rgb - A Color object (RGB) to convert to HSV.
| Method Detail |
ColorHSV adj(<int> h, <int> s, <int> v)
h - hue adjustment
s - saturation adjustment
v - luminance adjustment
Color toColor()
String toString()
|
Webnote | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||