public class Color
extends java.lang.Object
Constructor and Description |
---|
Color() |
Color(short[] data) |
Color(short red,
short green,
short blue) |
Modifier and Type | Method and Description |
---|---|
short |
getBlue()
Blue component.
|
short[] |
getData() |
short |
getGreen()
Green component.
|
short |
getRed()
Red component.
|
void |
setBlue(short value)
Blue component.
|
void |
setGreen(short value)
Green component.
|
void |
setRed(short value)
Red component.
|
public Color()
public Color(short red, short green, short blue)
public Color(short[] data)
public short getRed()
public short getGreen()
public short getBlue()
public void setRed(short value)
public void setGreen(short value)
public void setBlue(short value)
public short[] getData()