shearInstance static method
Creates a transformation for a shear.
@param xShear the value to shear by in the x direction @param yShear the value to shear by in the y direction @return a transformation for the shear
Implementation
static AffineTransformation shearInstance(double xShear, double yShear) {
AffineTransformation trans = new AffineTransformation();
trans.setToShear(xShear, yShear);
return trans;
}