Matrix.CreateRotate Method (Single)

Returns the affine Matrix of the rotation transform.

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

Syntax

C#
public static Matrix CreateRotate(
	float angle
)

Parameters

angle

Type: System.Single

The angle of the rotation (in degrees).

Return Value

A Matrix of the rotation transform.

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 CreateRotate(Single, PointF) or the CreateRotate(Single, Single, Single) method.

See Also

Reference