編輯

共用方式為


SKCanvas.RotateDegrees Method

Definition

Overloads

RotateDegrees(Single)

Pre-concatenates the current matrix with the specified rotation.

RotateDegrees(Single, Single, Single)

Pre-concatenates the current matrix with the specified rotation, around the specified point.

RotateDegrees(Single)

Pre-concatenates the current matrix with the specified rotation.

public void RotateDegrees (float degrees);

Parameters

degrees
Single

The number of degrees to rotate.

Applies to

RotateDegrees(Single, Single, Single)

Pre-concatenates the current matrix with the specified rotation, around the specified point.

public void RotateDegrees (float degrees, float px, float py);

Parameters

degrees
Single

The number of degrees to rotate.

px
Single

The x-coordinate of the point to rotate about.

py
Single

The y-coordinate of the point to rotate about.

Applies to