public class CIMFixedColorRamp extends CIMColorRamp
| Constructor and Description |
|---|
CIMFixedColorRamp() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMFixedColorRamp |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
FixedColorRampArrangementType |
getArrangement()
Gets the arrangement type.
|
CIMColor[] |
getColors()
Gets the ordered list of colors in the color scheme.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setArrangement(FixedColorRampArrangementType arrangement)
Sets the arrangement type.
|
void |
setColors(CIMColor[] colors)
Sets the ordered list of colors in the color scheme.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getColorSpace, setColorSpacepublic CIMColor[] getColors()
public void setColors(CIMColor[] colors)
public FixedColorRampArrangementType getArrangement()
public void setArrangement(FixedColorRampArrangementType arrangement)
public static CIMFixedColorRamp fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMColorRampCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMColorRamp