public class CIMXYZColor extends CIMColor
| Constructor and Description |
|---|
CIMXYZColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMXYZColor |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getColorSpace, getValues, setColorSpace, setValuespublic static CIMXYZColor fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMColorCIMJSONExceptionpublic void serialize(JSONObject jsonObject)