Class CIMAnimatedSymbolProperties
Represents animated symbol properties, a collection of symbol properties that apply when the symbol layer has animation data.
public class CIMAnimatedSymbolProperties : CIMObject
- Inheritance
-
CIMAnimatedSymbolProperties
- Inherited Members
Constructors
CIMAnimatedSymbolProperties()
public CIMAnimatedSymbolProperties()
Properties
Duration
Gets or sets how many seconds it takes to play through the symbol's animation once. This determines a symbol's playback speed.
public double Duration { get; set; }
Property Value
Easing
Gets or sets the animation's easing. Only applicable on non file-based animations.
public AnimatedSymbolEasingType Easing { get; set; }
Property Value
EndingDuration
Gets or sets the ending duration of a symbol for time-aware data interpolation. The symbol's playback speed is interpolated linearly from duration to endingDuration over the display period of a time-aware feature.
public double EndingDuration { get; set; }
Property Value
PlayAnimation
Gets or sets a value indicating whether the animated symbol should play its animation.
public bool PlayAnimation { get; set; }
Property Value
PrimitiveName
Gets or sets the primitive name.
public string PrimitiveName { get; set; }
Property Value
RandomizeStartSeed
Gets or sets the starting value for generating a random number. This random number is used by the randomizeStartTime property to determine time offset for each feature.
public long RandomizeStartSeed { get; set; }
Property Value
RandomizeStartTime
Gets or sets a value indicating whether to generate a randomized start offset in seconds to apply to the symbol animation of each feature.
public bool RandomizeStartTime { get; set; }
Property Value
RepeatDelay
Gets or sets the number of seconds to delay before repeating an animation cycle.
public double RepeatDelay { get; set; }
Property Value
RepeatType
Gets or sets how to repeat the animation of a symbol when an animation cycle ends.
public AnimatedSymbolRepeatType RepeatType { get; set; }
Property Value
ReverseAnimation
Gets or sets a value indicating whether the animated symbol should playback in reverse.
public bool ReverseAnimation { get; set; }
Property Value
StartTimeOffset
Gets or sets the time offset in seconds to use as the starting point of the symbol animation. This is used if randomizeStartTime=false.
public double StartTimeOffset { get; set; }
Property Value
UseEndingDuration
Gets or sets a value indicating whether to use the ending duration of a symbol for time-aware data interpolation.
public bool UseEndingDuration { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMAnimatedSymbolProperties with a specified state from a JSON encoding.
public static CIMAnimatedSymbolProperties FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMAnimatedSymbolProperties state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMAnimatedSymbolProperties and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.