|
Webnote | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--Color
A class representing a color as RGB values.
Defined in objects.js
| Field Summary | |
int |
b
|
int |
g
|
int |
r
|
| Constructor Summary | |
Color
(<String> value)
Create a new object to represent a color as RGB values. |
|
| Method Summary | |
Color
|
hsvadj(<float> h, <float> s, <float> v)
Adjust the HSV values of the color. |
String
|
toString()
Convert the object to a string of the form #ffffff |
| Field Detail |
int b
int g
int r
| Constructor Detail |
Color(<String> value)
value - A string representing the color. It can be in any of the following formats: rgb(##, ##, ##), #ffffff, or ffffff
| Method Detail |
Color hsvadj(<float> h, <float> s, <float> v)
h - hue
s - saturation
v - luminance
String toString()
|
Webnote | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||