Transformations
Class AffineTransform can be used for :
- translating, rotating, scaling, flipping, shearing
Just know the static methods of the class :
getRotateInstance(double theta)
getScaleInstance(double scaleX, double scaleY)
getShearInstance(double shiftX, double shiftY)
getTranslateInstance(double x, double y)
They return an Instance of AffineTransform encapsulating the Geometry of the transformation.