Code Samples Index
These code examples and other materials are subject to Sun Microsystems, Inc. Legal Terms
Creating a Shape from a Stroked Shape
float strokeThickness = 5.0f; BasicStroke stroke = new BasicStroke(strokeThickness); Shape newShape = stroke.createStrokedShape(shape);
Examplets provided by permission of the publisher, Addision-Wesley, and Author Patrick Chan. Order this book from Amazon