Class CIMSymbolAnimationRotation
Represents the rotation animation.
public class CIMSymbolAnimationRotation : CIMSymbolAnimation
- Inheritance
-
CIMSymbolAnimationRotation
- Inherited Members
Remarks
Dynamically animates the symbol to the given rotation value.
Constructors
CIMSymbolAnimationRotation()
public CIMSymbolAnimationRotation()
Properties
RotateClockwise
Gets or sets a value indicating whether the rotation animation is applied clockwise or counterclockwise.
public bool RotateClockwise { get; set; }
Property Value
ToRotation
Gets or sets the rotation value to which the symbol will animate.
public double ToRotation { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMSymbolAnimationRotation with a specified state from a JSON encoding.
public static CIMSymbolAnimationRotation FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMSymbolAnimationRotation state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMSymbolAnimationRotation and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.