JSR-62 (Final)

Uses of Interface
java.awt.Shape

Packages that use Shape
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of Shape in java.awt
 

Classes in java.awt that implement Shape
 class Polygon
          The Polygon class encapsulates a description of a closed, two-dimensional region within a coordinate space.
 class Rectangle
          A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-left point (xy) in the coordinate space, its width, and its height.
 

Methods in java.awt that return Shape
abstract  Shape Graphics.getClip()
          Gets the current clipping area.
 

Methods in java.awt with parameters of type Shape
abstract  void Graphics.setClip(Shape clip)
          Sets the current clipping area to an arbitrary clip shape.
 


JSR-62 (Final)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.