This documentation is for the old version. Go to the latest Graphics Mill docs

Matrix.Rotate Method (Single, MatrixOrder)

Applies a rotate affine transform to the matrix.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub Rotate ( _
	angle As Single, _
	order As MatrixOrder _
)
C#
public void Rotate(
	float angle,
	MatrixOrder order
)

Parameters

angle

Type: System.Single

The angle of the rotation (in degrees).
order

Type: System.Drawing.Drawing2D.MatrixOrder

The order of the matrices in the multiplication operation.

Remarks

The clockwise rotation is applied. Use negative angle value to rotate counter-clockwise.

The rotation is applied around the point of origin. To rotate around an arbitrary point, use the RotateAt(Single, PointF) method.

See Also

Reference