Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

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 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.