public class CIMSpotColor extends CIMColor
| Constructor and Description |
|---|
CIMSpotColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSpotColor |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
java.lang.String |
getName()
Gets the spot color name.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setName(java.lang.String name)
Sets the spot color name.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getColorSpace, getValues, setColorSpace, setValuespublic java.lang.String getName()
public void setName(java.lang.String name)
public static CIMSpotColor 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)