public class CIMSpotColorSpace extends CIMColorSpace
| Constructor and Description |
|---|
CIMSpotColorSpace() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSpotColorSpace |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMColor |
getAlternativeColor()
Gets the standard (non-spot) color that is used to display the color on-screen.
|
CIMColor |
getBookColor()
Gets the if present, the color used during output.
|
java.lang.String |
getBookID()
Gets the ID of the book the color name belongs to.
|
java.lang.String |
getDescription()
Gets a description of the ink.
|
boolean |
getIsReferencedColor()
Gets a value indicating whether or not the color is a referenced color.
|
java.lang.String |
getName()
Gets the defined ink name for the spot color.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAlternativeColor(CIMColor alternativeColor)
Sets the standard (non-spot) color that is used to display the color on-screen.
|
void |
setBookColor(CIMColor bookColor)
Sets the if present, the color used during output.
|
void |
setBookID(java.lang.String bookID)
Sets the ID of the book the color name belongs to.
|
void |
setDescription(java.lang.String description)
Sets a description of the ink.
|
void |
setIsReferencedColor(boolean isReferencedColor)
Sets a value indicating whether or not the color is a referenced color.
|
void |
setName(java.lang.String name)
Sets the defined ink name for the spot color.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getName()
public void setName(java.lang.String name)
public CIMColor getAlternativeColor()
public void setAlternativeColor(CIMColor alternativeColor)
public CIMColor getBookColor()
public void setBookColor(CIMColor bookColor)
public java.lang.String getBookID()
public void setBookID(java.lang.String bookID)
public boolean getIsReferencedColor()
public void setIsReferencedColor(boolean isReferencedColor)
public static CIMSpotColorSpace fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMColorSpaceCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMColorSpace