public class CIMSymbolAnimationMoveAlongLine extends CIMSymbolAnimation
| Constructor and Description |
|---|
CIMSymbolAnimationMoveAlongLine() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSymbolAnimationMoveAlongLine |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
boolean |
getContinuous()
Gets a value indicating whether the animation will loop continuously when Speed is defined.
|
double |
getDistanceAlong()
Gets the distance as a percentage along the line to which the marker will animate.
|
MovementAlongLineType |
getMovementType()
Gets the movement type, indicating whether the marker animates along the line by distance or by speed.
|
double |
getSpeed()
Gets the speed at which the marker will animate along the line, in units of the line's unit per second.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setContinuous(boolean continuous)
Sets a value indicating whether the animation will loop continuously when Speed is defined.
|
void |
setDistanceAlong(double distanceAlong)
Sets the distance as a percentage along the line to which the marker will animate.
|
void |
setMovementType(MovementAlongLineType movementType)
Sets the movement type, indicating whether the marker animates along the line by distance or by speed.
|
void |
setSpeed(double speed)
Sets the speed at which the marker will animate along the line, in units of the line's unit per second.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnimatedSymbolProperties, getPrimitiveName, setAnimatedSymbolProperties, setPrimitiveNameArrayFromJSON, JSONFromArraypublic MovementAlongLineType getMovementType()
public void setMovementType(MovementAlongLineType movementType)
public double getDistanceAlong()
public void setDistanceAlong(double distanceAlong)
public double getSpeed()
public void setSpeed(double speed)
public boolean getContinuous()
public void setContinuous(boolean continuous)
public static CIMSymbolAnimationMoveAlongLine 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