public final class RGB
extends java.lang.Object
构造器和说明 |
---|
RGB(int r,
int g,
int b)
Constructor
|
public RGB(int r, int g, int b)
r
- the red componentg
- the green componentb
- the blue componentpublic int getRed()
public int getGreen()
public int getBlue()