AnimationExtensions.Animate Método
Definição
Sobrecargas
Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation. |
Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation. |
Animate(IAnimatable, String, Action<Double>, Double, Double, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation. |
Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>) |
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation. |
Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation.
public static void Animate (this Xamarin.Forms.IAnimatable self, string name, Action<double> callback, uint rate = 16, uint length = 250, Xamarin.Forms.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Xamarin.Forms.IAnimatable * string * Action<double> * uint32 * uint32 * Xamarin.Forms.Easing * Action<double, bool> * Func<bool> -> unit
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.The object on which this method will be run.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.An animation key that should be unique among its sibling and parent animations for the duration of the animation.
Uma ação que é chamada com valores de animação sucessivos.An action that is called with successive animation values.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.The time, in milliseconds, between frames.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.The number of milliseconds over which to interpolate the animation.
- easing
- Easing
A função de easing a usar para fazer a transição para dentro, para fora ou para dentro e para fora da animação.The easing function to use to transision in, out, or in and out of the animation.
Uma ação a ser chamada quando a animação é concluída.An action to call when the animation is finished.
Uma função que retornará true caso a animação deva continuar.A function that returns true if the animation should continue.
Aplica-se a
Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation.
public static void Animate (this Xamarin.Forms.IAnimatable self, string name, Xamarin.Forms.Animation animation, uint rate = 16, uint length = 250, Xamarin.Forms.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Xamarin.Forms.IAnimatable * string * Xamarin.Forms.Animation * uint32 * uint32 * Xamarin.Forms.Easing * Action<double, bool> * Func<bool> -> unit
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.The object on which this method will be run.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.An animation key that should be unique among its sibling and parent animations for the duration of the animation.
- animation
- Animation
A animação a executar.The animation to run.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.The time, in milliseconds, between frames.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.The number of milliseconds over which to interpolate the animation.
- easing
- Easing
A função de easing a usar para fazer a transição para dentro, para fora ou para dentro e para fora da animação.The easing function to use to transision in, out, or in and out of the animation.
Uma ação a ser chamada quando a animação é concluída.An action to call when the animation is finished.
Uma função que retornará true caso a animação deva continuar.A function that returns true if the animation should continue.
Aplica-se a
Animate(IAnimatable, String, Action<Double>, Double, Double, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation.
public static void Animate (this Xamarin.Forms.IAnimatable self, string name, Action<double> callback, double start, double end, uint rate = 16, uint length = 250, Xamarin.Forms.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Xamarin.Forms.IAnimatable * string * Action<double> * double * double * uint32 * uint32 * Xamarin.Forms.Easing * Action<double, bool> * Func<bool> -> unit
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.The object on which this method will be run.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.An animation key that should be unique among its sibling and parent animations for the duration of the animation.
Uma ação que é chamada com valores de animação sucessivos.An action that is called with successive animation values.
- start
- Double
A fração de animação atual na qual iniciar a animação.The fraction into the current animation at which to start the animation.
- end
- Double
A fração de animação atual na qual interromper a animação.The fraction into the current animation at which to stop the animation.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.The time, in milliseconds, between frames.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.The number of milliseconds over which to interpolate the animation.
- easing
- Easing
A função de easing a usar para fazer a transição para dentro, para fora ou para dentro e para fora da animação.The easing function to use to transision in, out, or in and out of the animation.
Uma ação a ser chamada quando a animação é concluída.An action to call when the animation is finished.
Uma função que retornará true caso a animação deva continuar.A function that returns true if the animation should continue.
Aplica-se a
Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>)
Define os parâmetros especificados e inicia a animação.Sets the specified parameters and starts the animation.
public static void Animate<T> (this Xamarin.Forms.IAnimatable self, string name, Func<double,T> transform, Action<T> callback, uint rate = 16, uint length = 250, Xamarin.Forms.Easing easing = default, Action<T,bool> finished = default, Func<bool> repeat = default);
static member Animate : Xamarin.Forms.IAnimatable * string * Func<double, 'T> * Action<'T> * uint32 * uint32 * Xamarin.Forms.Easing * Action<'T, bool> * Func<bool> -> unit
Parâmetros de tipo
- T
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.The object on which this method will be run.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.An animation key that should be unique among its sibling and parent animations for the duration of the animation.
Uma função que mapeia os tempos de animação para novos valores de tempo.A function that maps animation times to new time values.
- callback
- Action<T>
Uma ação que é chamada com valores de animação sucessivos.An action that is called with successive animation values.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.The time, in milliseconds, between frames.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.The number of milliseconds over which to interpolate the animation.
- easing
- Easing
A função de easing a usar para fazer a transição para dentro, para fora ou para dentro e para fora da animação.The easing function to use to transision in, out, or in and out of the animation.
Uma ação a ser chamada quando a animação é concluída.An action to call when the animation is finished.
Uma função que retornará true caso a animação deva continuar.A function that returns true if the animation should continue.