| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| java.awt.font | Provides classes and interface relating to fonts. | 
| java.awt.geom | Provides the Java 2D classes for defining and performing operations
on objects related to two-dimensional geometry. | 
| java.awt.image | Provides classes for creating and modifying images. | 
| java.awt.image.renderable | Provides classes and interfaces for producing
rendering-independent images. | 
| javax.swing.plaf | Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities. | 
| 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. | 
| Class and Description | 
|---|
| AffineTransform The  AffineTransformclass represents a 2D affine transform
 that performs a linear mapping from 2D coordinates to other 2D
 coordinates that preserves the "straightness" and
 "parallelness" of lines. | 
| Dimension2D The  Dimension2Dclass is to encapsulate a width
 and a height dimension. | 
| PathIterator The  PathIteratorinterface provides the mechanism
 for objects that implement theShapeinterface to return the geometry of their boundary by allowing
 a caller to retrieve the path of that boundary a segment at a
 time. | 
| Point2D The  Point2Dclass defines a point representing a location
 in(x,y)coordinate space. | 
| Rectangle2D The  Rectangle2Dclass describes a rectangle
 defined by a location(x,y)and dimension(w x h). | 
| RectangularShape RectangularShapeis the base class for a number ofShapeobjects whose geometry is defined by a rectangular frame. | 
| Class and Description | 
|---|
| AffineTransform The  AffineTransformclass represents a 2D affine transform
 that performs a linear mapping from 2D coordinates to other 2D
 coordinates that preserves the "straightness" and
 "parallelness" of lines. | 
| Point2D The  Point2Dclass defines a point representing a location
 in(x,y)coordinate space. | 
| Rectangle2D The  Rectangle2Dclass describes a rectangle
 defined by a location(x,y)and dimension(w x h). | 
| Class and Description | 
|---|
| AffineTransform The  AffineTransformclass represents a 2D affine transform
 that performs a linear mapping from 2D coordinates to other 2D
 coordinates that preserves the "straightness" and
 "parallelness" of lines. | 
| Arc2D Arc2Dis the abstract superclass for all objects that
 store a 2D arc defined by a framing rectangle,
 start angle, angular extent (length of the arc), and a closure type
 (OPEN,CHORD, orPIE). | 
| Area An  Areaobject stores and manipulates a
 resolution-independent description of an enclosed area of
 2-dimensional space. | 
| CubicCurve2D The  CubicCurve2Dclass defines a cubic parametric curve
 segment in(x,y)coordinate space. | 
| Dimension2D The  Dimension2Dclass is to encapsulate a width
 and a height dimension. | 
| Ellipse2D The  Ellipse2Dclass describes an ellipse that is defined
 by a framing rectangle. | 
| Line2D This  Line2Drepresents a line segment in(x,y)coordinate space. | 
| NoninvertibleTransformException The  NoninvertibleTransformExceptionclass represents
 an exception that is thrown if an operation is performed requiring
 the inverse of anAffineTransformobject but theAffineTransformis in a non-invertible state. | 
| Path2D The  Path2Dclass provides a simple, yet flexible
 shape which represents an arbitrary geometric path. | 
| Path2D.Float The  Floatclass defines a geometric path with
 coordinates stored in single precision floating point. | 
| PathIterator The  PathIteratorinterface provides the mechanism
 for objects that implement theShapeinterface to return the geometry of their boundary by allowing
 a caller to retrieve the path of that boundary a segment at a
 time. | 
| Point2D The  Point2Dclass defines a point representing a location
 in(x,y)coordinate space. | 
| QuadCurve2D The  QuadCurve2Dclass defines a quadratic parametric curve
 segment in(x,y)coordinate space. | 
| Rectangle2D The  Rectangle2Dclass describes a rectangle
 defined by a location(x,y)and dimension(w x h). | 
| RectangularShape RectangularShapeis the base class for a number ofShapeobjects whose geometry is defined by a rectangular frame. | 
| RoundRectangle2D The  RoundRectangle2Dclass 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. | 
| Class and Description | 
|---|
| AffineTransform The  AffineTransformclass represents a 2D affine transform
 that performs a linear mapping from 2D coordinates to other 2D
 coordinates that preserves the "straightness" and
 "parallelness" of lines. | 
| Point2D The  Point2Dclass defines a point representing a location
 in(x,y)coordinate space. | 
| Rectangle2D The  Rectangle2Dclass describes a rectangle
 defined by a location(x,y)and dimension(w x h). | 
| Class and Description | 
|---|
| AffineTransform The  AffineTransformclass represents a 2D affine transform
 that performs a linear mapping from 2D coordinates to other 2D
 coordinates that preserves the "straightness" and
 "parallelness" of lines. | 
| Rectangle2D The  Rectangle2Dclass describes a rectangle
 defined by a location(x,y)and dimension(w x h). | 
| Class and Description | 
|---|
| Dimension2D The  Dimension2Dclass is to encapsulate a width
 and a height dimension. | 
| Class and Description | 
|---|
| Rectangle2D The  Rectangle2Dclass describes a rectangle
 defined by a location(x,y)and dimension(w x h). | 
| RectangularShape RectangularShapeis the base class for a number ofShapeobjects whose geometry is defined by a rectangular frame. | 
| Class and Description | 
|---|
| Rectangle2D The  Rectangle2Dclass describes a rectangle
 defined by a location(x,y)and dimension(w x h). | 
| RectangularShape RectangularShapeis the base class for a number ofShapeobjects whose geometry is defined by a rectangular frame. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.