ViewExtensions.RotateXTo(VisualElement, Double, UInt32, Easing) Método
Definição
Retorna uma tarefa que distorce o eixo Y por opacity
, obtendo length
de tempo e usando easing
.Returns a task that skews the Y axis by opacity
, taking time length
and using easing
.
public static System.Threading.Tasks.Task<bool> RotateXTo (this Xamarin.Forms.VisualElement view, double rotation, uint length = 250, Xamarin.Forms.Easing easing = default);
static member RotateXTo : Xamarin.Forms.VisualElement * double * uint32 * Xamarin.Forms.Easing -> System.Threading.Tasks.Task<bool>
Parâmetros
- view
- VisualElement
A exibição na qual esse método opera.The view on which this method operates.
- rotation
- Double
O valor final de rotação.The final rotation value.
- length
- UInt32
O tempo, em milissegundos, sobre o qual animar a transição.The time, in milliseconds, over which to animate the transition. O padrão é 250.The default is 250.
- easing
- Easing
A função de easing a ser usada para a animação.The easing function to use for the animation.