Whole document tree
3.4 Creating a Custom ShapeYou can implement the Shape interface to create a class that defines a new type of shape. It doesn't matter how you represent the shape internally, as long as you can implement the Shape interface methods. The Shape must be able to generate a path that specifies its contour. CONTENTS | PREV | NEXT Copyright © 1997-1999 Sun Microsystems, Inc. All Rights Reserved. |