Canvas.Rotate Method

Definition

Overloads

Rotate(Single)

Preconcat the current matrix with the specified rotation.

Rotate(Single, Single, Single)

Preconcat the current matrix with the specified rotation.

Rotate(Single)

Preconcat the current matrix with the specified rotation.

[Android.Runtime.Register("rotate", "(F)V", "GetRotate_FHandler")]
public virtual void Rotate (float degrees);
[<Android.Runtime.Register("rotate", "(F)V", "GetRotate_FHandler")>]
abstract member Rotate : single -> unit
override this.Rotate : single -> unit

Parameters

degrees
Single

The amount to rotate, in degrees

Attributes

Remarks

Preconcat the current matrix with the specified rotation.

Java documentation for android.graphics.Canvas.rotate(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

Rotate(Single, Single, Single)

Preconcat the current matrix with the specified rotation.

[Android.Runtime.Register("rotate", "(FFF)V", "")]
public void Rotate (float degrees, float px, float py);
[<Android.Runtime.Register("rotate", "(FFF)V", "")>]
member this.Rotate : single * single * single -> unit

Parameters

degrees
Single

The amount to rotate, in degrees

px
Single

The x-coord for the pivot point (unchanged by the rotation)

py
Single

The y-coord for the pivot point (unchanged by the rotation)

Attributes

Remarks

Preconcat the current matrix with the specified rotation.

Java documentation for android.graphics.Canvas.rotate(float, float, 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