![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e657. Creating a Shape Using Lines and CurvesGeneralPath shape = new GeneralPath(); shape.moveTo(x, y); shape.lineTo(x, y); shape.quadTo(controlPointX, controlPointY, x, y); shape.curveTo(controlPointX1, controlPointY1, controlPointX2, controlPointY2, x, y); shape.closePath();
e658. Combining Shapes e659. Scaling, Shearing, Translating, and Rotating a Shape © 2002 Addison-Wesley. |