AnimationExtensions.Animate Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Define os parâmetros especificados e inicia a animação. |
Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Define os parâmetros especificados e inicia a animação. |
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. |
Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>, IAnimationManager) |
Define os parâmetros especificados e inicia a animação. |
Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)
Define os parâmetros especificados e inicia a animação.
public static void Animate (this Microsoft.Maui.Controls.IAnimatable self, string name, Microsoft.Maui.Controls.Animation animation, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Microsoft.Maui.Controls.Animation * uint32 * uint32 * Microsoft.Maui.Easing * Action<double, bool> * Func<bool> -> unit
<Extension()>
Public Sub Animate (self As IAnimatable, name As String, animation As Animation, Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of Double, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing)
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.
- animation
- Animation
A animação a executar.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.
- 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.
Aplica-se a
Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)
Define os parâmetros especificados e inicia a animação.
public static void Animate (this Microsoft.Maui.Controls.IAnimatable self, string name, Action<double> callback, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Action<double> * uint32 * uint32 * Microsoft.Maui.Easing * Action<double, bool> * Func<bool> -> unit
<Extension()>
Public Sub Animate (self As IAnimatable, name As String, callback As Action(Of Double), Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of Double, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing)
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.
- 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.
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.
public static void Animate (this Microsoft.Maui.Controls.IAnimatable self, string name, Action<double> callback, double start, double end, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Action<double> * double * double * uint32 * uint32 * Microsoft.Maui.Easing * Action<double, bool> * Func<bool> -> unit
<Extension()>
Public Sub Animate (self As IAnimatable, name As String, callback As Action(Of Double), start As Double, end As Double, Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of Double, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing)
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.
- start
- Double
A fração de animação atual na qual iniciar a animação.
- end
- Double
A fração de animação atual na qual interromper a animação.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.
- 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.
Aplica-se a
Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>, IAnimationManager)
Define os parâmetros especificados e inicia a animação.
public static void Animate<T> (this Microsoft.Maui.Controls.IAnimatable self, string name, Func<double,T> transform, Action<T> callback, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<T,bool> finished = default, Func<bool> repeat = default, Microsoft.Maui.Animations.IAnimationManager animationManager = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Func<double, 'T> * Action<'T> * uint32 * uint32 * Microsoft.Maui.Easing * Action<'T, bool> * Func<bool> * Microsoft.Maui.Animations.IAnimationManager -> unit
<Extension()>
Public Sub Animate(Of T) (self As IAnimatable, name As String, transform As Func(Of Double, T), callback As Action(Of T), Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of T, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing, Optional animationManager As IAnimationManager = Nothing)
Parâmetros de tipo
- T
Parâmetros
- self
- IAnimatable
O objeto no qual esse método será executado.
- name
- String
Uma chave de animação deve ser exclusiva entre suas animações pai e irmã pela duração da animação.
- callback
- Action<T>
Uma ação que é chamada com valores de animação sucessivos.
- rate
- UInt32
O tempo, em milissegundos, entre quadros.
- length
- UInt32
O número de milissegundos durante os quais interpolar a animação.
- 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.
- animationManager
- IAnimationManager