ViewExtensions.RotateTo(VisualElement, Double, UInt32, Easing) Método
Definición
Devuelve una tarea que realiza la rotación que describen los parámetros rotation
, length
y easing
.Returns a task that performs the rotation that is described by the rotation
, length
, and easing
parameters.
public static System.Threading.Tasks.Task<bool> RotateTo (this Xamarin.Forms.VisualElement view, double rotation, uint length = 250, Xamarin.Forms.Easing easing = default);
static member RotateTo : 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.