Rotate

Matrix.Rotate method (1 of 2)

Applies a clockwise rotation of an amount specified in the angle parameter, around the origin (zero x and y coordinates) for this Matrix in the specified order.

public void Rotate(float angle, MatrixOrder order)
Parameter Type Description
angle Single The rotate angle.
order MatrixOrder The matrix order.

See Also


Matrix.Rotate method (2 of 2)

Applies a clockwise rotation of an amount specified in the angle parameter, around the origin (zero x and y coordinates) for this Matrix in the default (Prepend) order.

public void Rotate(float angle)
Parameter Type Description
angle Single The rotate angle.

See Also