![]() |
The Java Developers Almanac 1.4 |
|
e588. Creating a Shape from a Stroked Shape float strokeThickness = 5.0f;
BasicStroke stroke = new BasicStroke(strokeThickness);
Shape newShape = stroke.createStrokedShape(shape);
e587. Filling Basic Shapes e589. Stroking or Filling a Shape e590. Drawing a Pie Chart
© 2002 Addison-Wesley. |