Udostępnij za pośrednictwem


ViewPropertyAnimator.Rotation(Single) Method

Definition

This method will cause the View's rotation property to be animated to the specified value.

[Android.Runtime.Register("rotation", "(F)Landroid/view/ViewPropertyAnimator;", "GetRotation_FHandler")]
public virtual Android.Views.ViewPropertyAnimator Rotation (float value);
[<Android.Runtime.Register("rotation", "(F)Landroid/view/ViewPropertyAnimator;", "GetRotation_FHandler")>]
abstract member Rotation : single -> Android.Views.ViewPropertyAnimator
override this.Rotation : single -> Android.Views.ViewPropertyAnimator

Parameters

value
Single

The value to be animated to.

Returns

This object, allowing calls to methods in this class to be chained.

Attributes

Remarks

This method will cause the View's rotation property to be animated to the specified value. Animations already running on the property will be canceled.

Java documentation for android.view.ViewPropertyAnimator.rotation(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also