Animation
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Drawing

Summary:
Defines an animation.

Inheritance:
Object =>
Animation

Constructors

// Initializes a new instance of the Animation class.
// Initializes a new instance of the Animation class.
Func<Single, Single> easingFunction, // The easing function.
TimeSpan duration// The duration.
)
// Initializes a new instance of the Animation class.
Func<Single, Single> easingFunction, // The easing function.
TimeSpan duration, // The duration.
Int32 repeatTimes// The repeat times.
)
// Initializes a new instance of the Animation class.
Func<Single, Single> easingFunction, // The easing function.
Int64 duration, // The duration.
Int32 repeatTimes// The repeat times.
)
// Initializes a new instance of the Animation class.
Animation animation// The animation.
)

Properties

Gets or sets the easing function.
Type: Func<Single, Single>
Gets or sets the duration of the transition in Milliseconds.
Type: Int64
Gets or sets how many times the animation needs to repeat before it is completed, use int.MaxValue to repeat it indefinitely number of times.
Type: Int32