Table of Contents

Class SequenceAnimation

Namespace
FlowGraph.Avalonia.Animation
Assembly
FlowGraph.Avalonia.dll

A sequence of animations that run one after another.

public class SequenceAnimation : IAnimation
Inheritance
SequenceAnimation
Implements
Inherited Members

Constructors

SequenceAnimation(params IAnimation[])

Creates a new sequence animation.

public SequenceAnimation(params IAnimation[] animations)

Parameters

animations IAnimation[]

The animations to run in sequence.

SequenceAnimation(IEnumerable<IAnimation>)

Creates a new sequence animation.

public SequenceAnimation(IEnumerable<IAnimation> animations)

Parameters

animations IEnumerable<IAnimation>

The animations to run in sequence.

Properties

IsComplete

Gets whether the animation has completed.

public bool IsComplete { get; }

Property Value

bool

Methods

Cancel()

Called when the animation completes or is cancelled.

public void Cancel()

Update(double)

Updates the animation with the elapsed time since the last frame.

public void Update(double deltaTime)

Parameters

deltaTime double

Time elapsed since last update in seconds.