|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--go.GoColor
Field Summary | |
double |
b
B component of RGB color value. |
double |
g
G component of RGB color value. |
double |
r
R component of RGB color value. |
Constructor Summary | |
GoColor()
Constructor for an RGB color definition. |
|
GoColor(double r,
double g,
double b)
Constructor for an RGB color definition. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public double r
public double g
public double b
Constructor Detail |
public GoColor()
Equivalent to:
GoColor(0, 0, 0) (i.e. black)
public GoColor(double r, double g, double b)
Color is defined with an RGB value of (r, g, b).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |