public class CIMPolarContinuousColorRamp extends CIMContinuousColorRamp
| Constructor and Description |
|---|
CIMPolarContinuousColorRamp() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMPolarContinuousColorRamp |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
ColorSpaceType |
getInterpolationSpace()
Gets the color space in which the polar interpolation occurs.
|
PolarDirection |
getPolarDirection()
Gets the direction of the polar progression for the path from the beginning hue to the ending hue.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setInterpolationSpace(ColorSpaceType interpolationSpace)
Sets the color space in which the polar interpolation occurs.
|
void |
setPolarDirection(PolarDirection polarDirection)
Sets the direction of the polar progression for the path from the beginning hue to the ending hue.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getFromColor, getPrimitiveName, getToColor, setFromColor, setPrimitiveName, setToColorgetColorSpace, setColorSpacepublic ColorSpaceType getInterpolationSpace()
public void setInterpolationSpace(ColorSpaceType interpolationSpace)
public PolarDirection getPolarDirection()
public void setPolarDirection(PolarDirection polarDirection)
public static CIMPolarContinuousColorRamp fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMContinuousColorRampCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMContinuousColorRamp