Matrix.CreateRotate Method (Single, Single, Single)

Returns the affine Matrix of the rotation around the specified point transform.

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

Syntax

C#
public static Matrix CreateRotate(
	float angle,
	float x,
	float y
)

Parameters

angle

Type: System.Single

The angle of the rotation (in degrees).
x

Type: System.Single

The x-coordinate of the center of the rotation.
y

Type: System.Single

The x-coordinate of the center of the rotation.

Return Value

A Matrix of the rotation transform.

Remarks

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

See Also

Reference