Class CIMSymbolAnimationOffset
Represents the offset animation.
public class CIMSymbolAnimationOffset : CIMSymbolAnimation
- Inheritance
-
CIMSymbolAnimationOffset
- Inherited Members
Remarks
Dynamically animates the symbol to the given offset.
Constructors
CIMSymbolAnimationOffset()
public CIMSymbolAnimationOffset()
Properties
OffsetX
Gets or sets the x offset to which the symbol will animate.
public double OffsetX { get; set; }
Property Value
OffsetY
Gets or sets the y offset to which the symbol will animate.
public double OffsetY { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMSymbolAnimationOffset with a specified state from a JSON encoding.
public static CIMSymbolAnimationOffset FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMSymbolAnimationOffset state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMSymbolAnimationOffset and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.