Class J2Ci.jRGB
All Packages Class Hierarchy This Package Previous Next Index
Class J2Ci.jRGB
Object
|
+----J2Ci.jRGB
- public class jRGB
- extends Object
The class jRGB represents a RGB-color value.
- Author:
- Andreas Schröter
-
blue
- The blue part of color.
-
green
- The green part of color.
-
red
- The red part of color.
-
J2Ci.jRGB(int, int, int)
-
Constructor; sets the values of r, g, b to the specified values.
-
J2Ci.jRGB()
-
Constructor; sets the values to black (0, 0, 0)
blue
public int blue
- The blue part of color.
green
public int green
- The green part of color.
red
public int red
- The red part of color.
jRGB
public jRGB(int r,
int g,
int b)
- Constructor; sets the values of r, g, b to the specified values.
- Parameters:
- r - red value.
- g - green value.
- b - blue value.
jRGB
public jRGB()
- Constructor; sets the values to black (0, 0, 0)
All Packages Class Hierarchy This Package Previous Next Index