Overloaded versions of the rotate method (cont'd)
The version called in Listing 6 requires three parameters:
- The rotation angle in radians
- The X and Y coordinates of the point around which the rotation will take place
(the anchor point).
A positive rotation value indicates a clockwise rotation.