public class CmxColor extends Object
Represents a color value.
Constructor and Description |
---|
CmxColor() |
CmxColor(int colorModel,
long value) |
Modifier and Type | Method and Description |
---|---|
int |
getColorModel()
Gets the color model.
|
long |
getValue()
Gets the color value.
|
void |
setColorModel(int value)
Sets the color model.
|
void |
setValue(long value)
Sets the color value.
|
String |
toString()
Returns a
String that represents this instance. |
public final int getColorModel()
Gets the color model.
public final void setColorModel(int value)
Sets the color model.
value
- the color model.public final long getValue()
Gets the color value.
public final void setValue(long value)
Sets the color value.
value
- the color value.