ICanvas.Rotate Method

Definition

Overloads

Rotate(Single)

Rotates a graphical object around the upper-left corner of the canvas (0,0).

Rotate(Single, Single, Single)

Rotates a graphical object around a point.

Rotate(Single)

Source:
ICanvas.cs
Source:
ICanvas.cs
Source:
ICanvas.cs

Rotates a graphical object around the upper-left corner of the canvas (0,0).

public void Rotate(float degrees);

Parameters

degrees
Single

Remarks

Rotation is clockwise for increasing angles. Negative angles and angles greater than 360 are allowed.

Applies to

.NET MAUI 10 dan versi lainnya
Produk Versi
.NET MAUI 8, 9, 10

Rotate(Single, Single, Single)

Source:
ICanvas.cs
Source:
ICanvas.cs
Source:
ICanvas.cs

Rotates a graphical object around a point.

public void Rotate(float degrees, float x, float y);

Parameters

degrees
Single

Rotation angle.

x
Single

x coordinate of the rotation point.

y
Single

y coordinate of the rotation point.

Remarks

Rotation is clockwise for increasing angles. Negative angles and angles greater than 360 are allowed.

Applies to

.NET MAUI 10 dan versi lainnya
Produk Versi
.NET MAUI 8, 9, 10