Returns a transform that rotates coordinates by the specified number of quadrants. This operation is equivalent to calling:
AffineTransform.getRotateInstance(numquadrants * Math.PI / 2.0);Rotating by a positive number of quadrants rotates points on the positive X axis toward the positive Y axis.
numquadrants | the number of 90 degree arcs to rotate by |
AffineTransform
object that rotates
coordinates by the specified number of quadrants.
Diagram: AffineTransform