go
Class GoColor

java.lang.Object
  |
  +--go.GoColor

public class GoColor
extends java.lang.Object


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

r

public double r
R component of RGB color value.

g

public double g
G component of RGB color value.

b

public double b
B component of RGB color value.
Constructor Detail

GoColor

public GoColor()
Constructor for an RGB color definition.

Equivalent to:

GoColor(0, 0, 0)   (i.e. black)

GoColor

public GoColor(double r,
               double g,
               double b)
Constructor for an RGB color definition.

Color is defined with an RGB value of (r, g, b).