Table of Contents

Interface IAnimation

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

Represents an animation that can be updated over time.

public interface IAnimation

Properties

IsComplete

Gets whether the animation has completed.

bool IsComplete { get; }

Property Value

bool

Methods

Cancel()

Called when the animation completes or is cancelled.

void Cancel()

Update(double)

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

void Update(double deltaTime)

Parameters

deltaTime double

Time elapsed since last update in seconds.