JavaTM 2 Platform
Std. Ed. v1.4.0

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. 
java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

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.
 

Uses of Shape in java.awt.geom
 

Classes in java.awt.geom that implement Shape
 class Arc2D
          Arc2D is the abstract superclass for all objects that store a 2D arc defined by a bounding rectangle, start angle, angular extent (length of the arc), and a closure type (OPEN, CHORD, or PIE).
static class Arc2D.Double
          This class defines an arc specified in double precision.
static class Arc2D.Float
          This class defines an arc specified in float precision.
 class Area
          The Area class is a device-independent specification of an arbitrarily-shaped area.
 class CubicCurve2D
          The CubicCurve2D class defines a cubic parametric curve segment in (x,  y) coordinate space.
static class CubicCurve2D.Double
          A cubic parametric curve segment specified with double coordinates.
static class CubicCurve2D.Float
          A cubic parametric curve segment specified with float coordinates.
 class Ellipse2D
          The Ellipse2D class describes an ellipse that is defined by a bounding rectangle.
static class Ellipse2D.Double
          The Double class defines an ellipse specified in double precision.
static class Ellipse2D.Float
          The Float class defines an ellipse specified in float precision.
 class GeneralPath
          The GeneralPath class represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.
 class Line2D
          This Line2D represents a line segment in (x, y) coordinate space.
static class Line2D.Double
          A line segment specified with double coordinates.
static class Line2D.Float
          A line segment specified with float coordinates.
 class QuadCurve2D
          The QuadCurve2D class defines a quadratic parametric curve segment in (x, y) coordinate space.
static class QuadCurve2D.Double
          A quadratic parametric curve segment specified with double coordinates.
static class QuadCurve2D.Float
          A quadratic parametric curve segment specified with float coordinates.
 class Rectangle2D
          The Rectangle2D class describes a rectangle defined by a location (x, y) and dimension (w x h).
static class Rectangle2D.Double
          The Double class defines a rectangle specified in double coordinates.
static class Rectangle2D.Float
          The Float class defines a rectangle specified in float coordinates.
 class RectangularShape
          RectangularShape is the base class for a number of Shape objects whose geometry is defined by a rectangular frame.
 class RoundRectangle2D
          The RoundRectangle2D class defines a rectangle with rounded corners defined by a location (x, y), a dimension (w x h), and the width and height of an arc with which to round the corners.
static class RoundRectangle2D.Double
          The Double class defines a rectangle with rounded corners all specified in double coordinates.
static class RoundRectangle2D.Float
          The Float class defines a rectangle with rounded corners all specified in float coordinates.
 

Uses of Shape in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement Shape
static class BasicTextUI.BasicCaret
           
 

Uses of Shape in javax.swing.text
 

Classes in javax.swing.text that implement Shape
 class DefaultCaret
          A default implementation of Caret.
 


JavaTM 2 Platform
Std. Ed. v1.4.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

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