jxl.format
Class RGB
public final class RGB
extends java.lang.Object
A structure which contains the RGB values for a particular colour
RGB(int r, int g, int b)- Constructor
|
int | getBlue()- Accessor for the blue component
|
int | getGreen()- Accessor for the green component
|
int | getRed()- Accessor for the red component
|
RGB
public RGB(int r,
int g,
int b) Constructor
r - the red componentg - the green componentb - the blue component
getBlue
public int getBlue()
Accessor for the blue component
- the blue component of the colour, between 0 and 255
getGreen
public int getGreen()
Accessor for the green component
- the green component of the colour, between 0 and 255
getRed
public int getRed()
Accessor for the red component
- the red component of the colour, between 0 and 255