Share via


View.Rotation Property

Definition

The degrees that the view is rotated around the pivot point. -or- Sets the degrees that the view is rotated around the pivot point.

public virtual float Rotation { [Android.Runtime.Register("getRotation", "()F", "GetGetRotationHandler")] get; [Android.Runtime.Register("setRotation", "(F)V", "GetSetRotation_FHandler")] set; }
[<get: Android.Runtime.Register("getRotation", "()F", "GetGetRotationHandler")>]
[<set: Android.Runtime.Register("setRotation", "(F)V", "GetSetRotation_FHandler")>]
member this.Rotation : single with get, set

Property Value

The degrees of rotation.

Attributes

Remarks

Property getter documentation:

The degrees that the view is rotated around the pivot point.

Java documentation for android.view.View.getRotation().

Property setter documentation:

Sets the degrees that the view is rotated around the pivot point. Increasing values result in clockwise rotation.

Java documentation for android.view.View.setRotation(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