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