Animation Constructors
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.
Overloads
Animation() |
Creates a new Animation object with default values. |
Animation(Action<Double>, Double, Double, Easing, Action) |
Creates a new Animation object with the specified parameters. |
Animation()
Animation(Action<Double>, Double, Double, Easing, Action)
Creates a new Animation object with the specified parameters.
public Animation (Action<double> callback, double start = 0, double end = 1, Xamarin.Forms.Easing easing = default, Action finished = default);
new Xamarin.Forms.Animation : Action<double> * double * double * Xamarin.Forms.Easing * Action -> Xamarin.Forms.Animation
Parameters
- callback
- System.Action<System.Double>
An action that is called with successive animation values.
- start
- System.Double
The fraction into the current animation at which to start the animation.
- end
- System.Double
The fraction into the current animation at which to end the animation.
- easing
- Easing
The easing function to use to transision in, out, or in and out of the animation.
- finished
- System.Action
An action to call when the animation is finished.