ViewExtensions.RotateXTo(VisualElement, Double, UInt32, Easing) Método
Definición
Devuelve una tarea que sesga el eje Y por opacity
, al tomar la length
del período y al usar 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
Vista en la que funciona este método.The view on which this method operates.
- rotation
- Double
Valor de rotación final.The final rotation value.
- length
- UInt32
Tiempo, en milisegundos, durante el que se va a animar la transición.The time, in milliseconds, over which to animate the transition. El valor predeterminado es 250.The default is 250.
- easing
- Easing
Función de aceleración que se va a usar para la animación.The easing function to use for the animation.