Share via


ViewExtensions.RelRotateTo(VisualElement, Double, UInt32, Easing) Method

Definition

Rotates the VisualElement that is specified by view from its current rotation by drotation.

public static System.Threading.Tasks.Task<bool> RelRotateTo (this Xamarin.Forms.VisualElement view, double drotation, uint length = 250, Xamarin.Forms.Easing easing = default);
static member RelRotateTo : Xamarin.Forms.VisualElement * double * uint32 * Xamarin.Forms.Easing -> System.Threading.Tasks.Task<bool>

Parameters

view
VisualElement

The view on which this method operates.

drotation
System.Double

The relative rotation.

length
System.UInt32

The time, in milliseconds, over which to animate the transition. The default is 250.

easing
Easing

The easing function to use for the animation.

Returns

System.Threading.Tasks.Task<System.Boolean>

Applies to