Class Animation
Animation instance.
public sealed class Animation
- Inheritance
-
Animation
- Inherited Members
Properties
CssId
A unique ID for Animation representing the sources that triggered this CSS
animation/transition.
[JsonPropertyName("cssId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? CssId { get; set; }
Property Value
CurrentTime
Animation's current time.
[JsonPropertyName("currentTime")]
public double CurrentTime { get; set; }
Property Value
Id
Animation's id.
[JsonPropertyName("id")]
public string Id { get; set; }
Property Value
Name
Animation's name.
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
PausedState
Animation's internal paused state.
[JsonPropertyName("pausedState")]
public bool PausedState { get; set; }
Property Value
PlayState
Animation's play state.
[JsonPropertyName("playState")]
public string PlayState { get; set; }
Property Value
PlaybackRate
Animation's playback rate.
[JsonPropertyName("playbackRate")]
public double PlaybackRate { get; set; }
Property Value
Source
Animation's source animation node.
[JsonPropertyName("source")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AnimationEffect? Source { get; set; }
Property Value
StartTime
Animation's start time.
Milliseconds for time based animations and
percentage [0 - 100] for scroll driven animations
(i.e. when viewOrScrollTimeline exists).
[JsonPropertyName("startTime")]
public double StartTime { get; set; }
Property Value
Type
Animation type of Animation.
[JsonPropertyName("type")]
public AnimationTypeValues Type { get; set; }
Property Value
ViewOrScrollTimeline
View or scroll timeline
[JsonPropertyName("viewOrScrollTimeline")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ViewOrScrollTimeline? ViewOrScrollTimeline { get; set; }