Matrix.Rotate

Rotate(float)

Prepend to this Matrix a clockwise rotation, around the origin and by the specified angle.

public void Rotate(float angle)
ParameterTypeDescription
angleSingleThe angle of the rotation, in degrees.

See Also


Rotate(float, MatrixOrder)

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

public void Rotate(float angle, MatrixOrder order)
ParameterTypeDescription
angleSingleThe angle of the rotation, in degrees.
orderMatrixOrderA MatrixOrder that specifies the order (append or prepend) in which the rotation is applied to this Matrix.

See Also