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

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

public:
 void Rotate(float degrees);
public void Rotate (float degrees);
abstract member Rotate : single -> unit
Public Sub Rotate (degrees As Single)

Parameters

degrees
Single

Remarks

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

Applies to

Rotate(Single, Single, Single)

Source:
ICanvas.cs
Source:
ICanvas.cs

Rotates a graphical object around a point.

public:
 void Rotate(float degrees, float x, float y);
public void Rotate (float degrees, float x, float y);
abstract member Rotate : single * single * single -> unit
Public Sub Rotate (degrees As Single, x As Single, y As Single)

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