![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e659. Scaling, Shearing, Translating, and Rotating a ShapeAffineTransform tx = new AffineTransform(); tx.scale(scalex, scaley); tx.shear(shiftx, shifty); tx.translate(x, y); tx.rotate(radians); Shape newShape = tx.createTransformedShape(shape);
e657. Creating a Shape Using Lines and Curves e658. Combining Shapes © 2002 Addison-Wesley. |