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)
ParameterTypeDescription
angleSingleThe rotate angle.
orderMatrixOrderThe 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)
ParameterTypeDescription
angleSingleThe rotate angle.

See Also