Uses of Package
java.awt.geom
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes and interface relating to fonts.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides classes for creating and modifying images.
Provides classes and interfaces for producing rendering-independent images.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides classes and interfaces that deal with editable and noneditable text
components.
-
ClassDescriptionThe
AffineTransform
class 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.TheDimension2D
class is to encapsulate a width and a height dimension.ThePathIterator
interface provides the mechanism for objects that implement theShape
interface to return the geometry of their boundary by allowing a caller to retrieve the path of that boundary a segment at a time.ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame. -
ClassDescriptionThe
AffineTransform
class 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.ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
. -
ClassDescriptionThe
AffineTransform
class 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
is 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
).AnArea
object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.TheCubicCurve2D
class defines a cubic parametric curve segment in(x,y)
coordinate space.TheDimension2D
class is to encapsulate a width and a height dimension.TheEllipse2D
class describes an ellipse that is defined by a framing rectangle.ThisLine2D
represents a line segment in(x,y)
coordinate space.TheNoninvertibleTransformException
class represents an exception that is thrown if an operation is performed requiring the inverse of anAffineTransform
object but theAffineTransform
is in a non-invertible state.ThePath2D
class provides a simple, yet flexible shape which represents an arbitrary geometric path.TheFloat
class defines a geometric path with coordinates stored in single precision floating point.ThePathIterator
interface provides the mechanism for objects that implement theShape
interface to return the geometry of their boundary by allowing a caller to retrieve the path of that boundary a segment at a time.ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.TheQuadCurve2D
class defines a quadratic parametric curve segment in(x,y)
coordinate space.TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame.TheRoundRectangle2D
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. -
ClassDescriptionThe
AffineTransform
class 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.ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
. -
ClassDescriptionThe
AffineTransform
class 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.TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
. -
ClassDescriptionThe
Dimension2D
class is to encapsulate a width and a height dimension.ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
. -
ClassDescriptionThe
Rectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame. -
ClassDescriptionThe
Point2D
class defines a point representing a location in(x,y)
coordinate space.TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame.