AffineTransform tx = new AffineTransform();
tx.scale(scalex, scaley);
tx.shear(shiftx, shifty);
tx.translate(x, y);
tx.rotate(radians);
Shape newShape = tx.createTransformedShape(shape);
| Related Examples |
原文:https://www.cnblogs.com/borter/p/9575469.html