Language

Matrix.PreRotate Method

Definition

Overloads

Name Description
PreRotate(Single)

Preconcats the matrix with the specified rotation.

PreRotate(Single, Single, Single)

Preconcats the matrix with the specified rotation.

PreRotate(Single)

Preconcats the matrix with the specified rotation.

[Android.Runtime.Register("preRotate", "(F)Z", "GetPreRotate_FHandler")]
public virtual bool PreRotate(float degrees);
[<Android.Runtime.Register("preRotate", "(F)Z", "GetPreRotate_FHandler")>]
abstract member PreRotate : single -> bool
override this.PreRotate : single -> bool

Parameters

degrees
Single

The rotation angle, in degrees.

Returns

The Android 16 base implementation returns true after normal completion.

Attributes

Remarks

Preconcats the matrix with the specified rotation. M' = M * R(degrees)

Java documentation for android.graphics.Matrix.preRotate(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

PreRotate(Single, Single, Single)

Preconcats the matrix with the specified rotation.

[Android.Runtime.Register("preRotate", "(FFF)Z", "GetPreRotate_FFFHandler")]
public virtual bool PreRotate(float degrees, float px, float py);
[<Android.Runtime.Register("preRotate", "(FFF)Z", "GetPreRotate_FFFHandler")>]
abstract member PreRotate : single * single * single -> bool
override this.PreRotate : single * single * single -> bool

Parameters

degrees
Single

The rotation angle, in degrees.

px
Single

The horizontal coordinate of the rotation pivot.

py
Single

The vertical coordinate of the rotation pivot.

Returns

The Android 16 base implementation returns true after normal completion.

Attributes

Remarks

Preconcats the matrix with the specified rotation. M' = M * R(degrees, px, py)

Java documentation for android.graphics.Matrix.preRotate(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