Compartir a través de


LerpingAnimation Constructors

Definition

Overloads

LerpingAnimation()

Instantiate a new LerpingAnimation object.

LerpingAnimation(List<Animation>)

Instantiate a new LerpingAnimation that consists of the given list of child animations.

LerpingAnimation(Action<Double>, Double, Double, Easing, Action)

Instantiate a new LerpingAnimation object with the given parameters.

LerpingAnimation()

Source:
LerpingAnimation.cs
Source:
LerpingAnimation.cs

Instantiate a new LerpingAnimation object.

public:
 LerpingAnimation();
public LerpingAnimation ();
Public Sub New ()

Applies to

LerpingAnimation(List<Animation>)

Source:
LerpingAnimation.cs
Source:
LerpingAnimation.cs

Instantiate a new LerpingAnimation that consists of the given list of child animations.

public:
 LerpingAnimation(System::Collections::Generic::List<Microsoft::Maui::Animations::Animation ^> ^ animations);
public LerpingAnimation (System.Collections.Generic.List<Microsoft.Maui.Animations.Animation> animations);
new Microsoft.Maui.Animations.LerpingAnimation : System.Collections.Generic.List<Microsoft.Maui.Animations.Animation> -> Microsoft.Maui.Animations.LerpingAnimation
Public Sub New (animations As List(Of Animation))

Parameters

animations
List<Animation>

A List<T> that contains Animation objects that will be children of the newly instantiated animation.

Applies to

LerpingAnimation(Action<Double>, Double, Double, Easing, Action)

Source:
LerpingAnimation.cs
Source:
LerpingAnimation.cs

Instantiate a new LerpingAnimation object with the given parameters.

public LerpingAnimation (Action<double> callback, double start = 0, double end = 1, Microsoft.Maui.Easing? easing = default, Action? finished = default);
new Microsoft.Maui.Animations.LerpingAnimation : Action<double> * double * double * Microsoft.Maui.Easing * Action -> Microsoft.Maui.Animations.LerpingAnimation
Public Sub New (callback As Action(Of Double), Optional start As Double = 0, Optional end As Double = 1, Optional easing As Easing = Nothing, Optional finished As Action = Nothing)

Parameters

callback
Action<Double>

The Action<T> that is invoked after each tick of this animation.

start
Double

Specifies a delay (in seconds) taken into account before the animation starts.

end
Double

Specifies the duration that this animation should take in seconds.

easing
Easing

The easing function to apply to this animation.

finished
Action

A callback Action<T> that is invoked after the animation has finished.

Applies to