Piccolo.NET

PMatrix.RotateBy Method (Single, Single, Single)

Applies a clockwise rotation about the specified point to this PMatrix object by prepending the rotation.

public virtual void RotateBy(
   float theta,
   float x,
   float y
);

Parameters

theta
The angle of the rotation, in degrees.
x
The x-coordinate of the point to rotate about.
y
The y-coordinate of the point to rotate about.

Remarks

This value will be applied to the current rotation value of the matrix. This is not the same as setting the Rotation directly.

See Also

PMatrix Class | UMD.HCIL.Piccolo.Util Namespace | PMatrix.RotateBy Overload List


Web Accessibility