Class CIMAnimatedSymbolProperties

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

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

double

Easing

Gets or sets the animation's easing. Only applicable on non file-based animations.

public AnimatedSymbolEasingType Easing { get; set; }

Property Value

AnimatedSymbolEasingType

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

double

PlayAnimation

Gets or sets a value indicating whether the animated symbol should play its animation.

public bool PlayAnimation { get; set; }

Property Value

bool

PrimitiveName

Gets or sets the primitive name.

public string PrimitiveName { get; set; }

Property Value

string

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

long

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

bool

RepeatDelay

Gets or sets the number of seconds to delay before repeating an animation cycle.

public double RepeatDelay { get; set; }

Property Value

double

RepeatType

Gets or sets how to repeat the animation of a symbol when an animation cycle ends.

public AnimatedSymbolRepeatType RepeatType { get; set; }

Property Value

AnimatedSymbolRepeatType

ReverseAnimation

Gets or sets a value indicating whether the animated symbol should playback in reverse.

public bool ReverseAnimation { get; set; }

Property Value

bool

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

double

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

bool

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

json string

The JSON string containing the CIMAnimatedSymbolProperties state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMAnimatedSymbolProperties

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMAnimatedSymbolProperties and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string