public class CIMMaterialSymbolLayer extends CIMSymbolLayer
| Constructor and Description |
|---|
CIMMaterialSymbolLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMaterialSymbolLayer |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMColor |
getColor()
Gets the material color.
|
MaterialMode |
getMaterialMode()
Gets the mode in which the material is applied.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setColor(CIMColor color)
Sets the material color.
|
void |
setMaterialMode(MaterialMode materialMode)
Sets the mode in which the material is applied.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnimations, getColorLocked, getEffects, getEnable, getName, getOverprint, getPrimitiveName, setAnimations, setColorLocked, setEffects, setEnable, setName, setOverprint, setPrimitiveNamepublic CIMColor getColor()
public void setColor(CIMColor color)
public MaterialMode getMaterialMode()
public void setMaterialMode(MaterialMode materialMode)
public static CIMMaterialSymbolLayer fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMSymbolLayerCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMSymbolLayer