public abstract class CIMColor extends CIMObject
| Constructor and Description |
|---|
CIMColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
CIMColorSpace |
getColorSpace()
Gets the color space used defined by an ICC color profile.
|
double[] |
getValues()
Gets the values for the color and alpha channels as defined by the color model.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setColorSpace(CIMColorSpace colorSpace)
Sets the color space used defined by an ICC color profile.
|
void |
setValues(double[] values)
Sets the values for the color and alpha channels as defined by the color model.
|
public CIMColorSpace getColorSpace()
public void setColorSpace(CIMColorSpace colorSpace)
public double[] getValues()
public void setValues(double[] values)
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)