public class CIMSymbolAnimationOffset extends CIMSymbolAnimation
| Constructor and Description |
|---|
CIMSymbolAnimationOffset() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSymbolAnimationOffset |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getOffsetX()
Gets the x offset to which the symbol will animate.
|
double |
getOffsetY()
Gets the y offset to which the symbol will animate.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setOffsetX(double offsetX)
Sets the x offset to which the symbol will animate.
|
void |
setOffsetY(double offsetY)
Sets the y offset to which the symbol will animate.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnimatedSymbolProperties, getPrimitiveName, setAnimatedSymbolProperties, setPrimitiveNamepublic double getOffsetX()
public void setOffsetX(double offsetX)
public double getOffsetY()
public void setOffsetY(double offsetY)
public static CIMSymbolAnimationOffset fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMSymbolAnimationCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMSymbolAnimation