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

Matrix.Rotate Method (Single)

Applies a rotate affine transform to the matrix.

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


Visual Basic
Public Sub Rotate ( _
	angle As Single _
public void Rotate(
	float angle



Type: System.Single

The angle of the rotation (in degrees).


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

Internally the rotation is applied by multiplying this instance of the matrix by the affine matrix of rotation. Left-sided multiplication is made. If you need to make right-sided multiplication, you can use an overloaded version of this method which enables to specify a matrix order.

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

See Also