LerpingAnimation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a linear interpolation animation.
public ref class LerpingAnimation : Microsoft::Maui::Animations::Animation
public class LerpingAnimation : Microsoft.Maui.Animations.Animation
type LerpingAnimation = class
inherit Animation
Public Class LerpingAnimation
Inherits Animation
- Inheritance
Constructors
LerpingAnimation() |
Instantiate a new LerpingAnimation object. |
LerpingAnimation(Action<Double>, Double, Double, Easing, Action) |
Instantiate a new LerpingAnimation object with the given parameters. |
LerpingAnimation(List<Animation>) |
Instantiate a new LerpingAnimation that consists of the given list of child animations. |
Fields
animationManger |
A reference to the IAnimationManager that manages this animation. (Inherited from Animation) |
childrenAnimations |
Collection of child animations associated to this animation. (Inherited from Animation) |
Properties
AnimationManager |
A reference to the IAnimationManager that manages this animation. (Inherited from Animation) |
CurrentTime |
The current timestamp (in seconds) of the animation. (Inherited from Animation) |
CurrentValue |
Gets the current value for this animation. |
Duration |
The duration of this animation in seconds. (Inherited from Animation) |
Easing |
The Easing function that is applied to this animation. (Inherited from Animation) |
EndValue |
Gets or sets the end value of this animation. |
Finished |
A callback that is invoked when this animation finishes. (Inherited from Animation) |
HasFinished |
Specifies whether this animation has finished. (Inherited from Animation) |
IsDisposed |
Gets a value that specifies if this animation has been disposed. (Inherited from Animation) |
IsPaused |
Specifies whether this animation is currently paused. (Inherited from Animation) |
Lerp |
Gets or sets the linear interpolation for this animation. |
Name |
The name of this animation. (Inherited from Animation) |
Progress |
Progress of this animation in percentage. (Inherited from Animation) |
Repeats |
Specifies whether this animation should repeat. (Inherited from Animation) |
StartDelay |
The delay (in seconds) taken into account before the animation starts. (Inherited from Animation) |
StartValue |
Gets or sets the start value of this animation. |
Step |
A callback that is invoked after each tick of this animation. (Inherited from Animation) |
ValueChanged |
Gets or sets a callback that is invoked when CurrentValue is changed. |
Methods
Add(Double, Double, Animation) |
Adds a new child animation to this animation with the specified parameters. (Inherited from Animation) |
Commit(IAnimationManager) |
Sets the IAnimationManager for this animation. (Inherited from Animation) |
CreateAutoReversing() |
Creates an animation that includes both the original animation and a reversed version of the same animation. (Inherited from Animation) |
CreateReverse() |
Creates a reversed version of the current animation, including reversing the child animations. (Inherited from Animation) |
Dispose() | (Inherited from Animation) |
Dispose(Boolean) | (Inherited from Animation) |
GetEnumerator() |
Provides an IEnumerator of the child animations. (Inherited from Animation) |
OnTick(Double) |
Executes the logic to update all animations within this animation. (Inherited from Animation) |
Pause() |
Pauses the animation. (Inherited from Animation) |
RemoveFromParent() |
Removes this animation from it's parent. If there is no parent, nothing will happen. (Inherited from Animation) |
Reset() |
Resets the animation (and all child animations) to its initial state. (Inherited from Animation) |
Resume() |
Resumes the animation. (Inherited from Animation) |
Tick(Double) |
Method to trigger an update for this animation. (Inherited from Animation) |
Update(Double) |
Updates this animation by updating Progress and invoking Step. |