Rotate

Matrix.Rotate method (1 of 2)

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

public void Rotate(float angle)
Parameter Type Description
angle Single The angle of the rotation, in degrees.

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.

public void Rotate(float angle, MatrixOrder order)
Parameter Type Description
angle Single The angle of the rotation, in degrees.
order MatrixOrder A MatrixOrder that specifies the order (append or prepend) in which the rotation is applied to this Matrix.

See Also