public abstract class CIMContinuousColorRamp extends CIMColorRamp
| Constructor and Description |
|---|
CIMContinuousColorRamp() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
CIMColor |
getFromColor()
Gets the beginning color for the color ramp (also known as a color scheme).
|
java.lang.String |
getPrimitiveName()
Gets the primitive name.
|
CIMColor |
getToColor()
Gets the ending color for the color ramp (also known as a color scheme).
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setFromColor(CIMColor fromColor)
Sets the beginning color for the color ramp (also known as a color scheme).
|
void |
setPrimitiveName(java.lang.String primitiveName)
Sets the primitive name.
|
void |
setToColor(CIMColor toColor)
Sets the ending color for the color ramp (also known as a color scheme).
|
getColorSpace, setColorSpacepublic CIMColor getFromColor()
public void setFromColor(CIMColor fromColor)
public CIMColor getToColor()
public void setToColor(CIMColor toColor)
public java.lang.String getPrimitiveName()
public void setPrimitiveName(java.lang.String primitiveName)
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMColorRampCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMColorRamp