Uses of Package
java.awt.geom
-
Packages that use java.awt.geom 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. -
Classes in java.awt.geom used by java.awt Class and Description AffineTransform TheAffineTransform
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.Dimension2D TheDimension2D
class is to encapsulate a width and a height dimension.PathIterator 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.Point2D ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.Rectangle2D TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame. -
Classes in java.awt.geom used by java.awt.font Class and Description AffineTransform TheAffineTransform
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.Point2D ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.Rectangle2D TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
. -
Classes in java.awt.geom used by java.awt.geom Class and Description AffineTransform TheAffineTransform
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 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
).Area AnArea
object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.CubicCurve2D TheCubicCurve2D
class defines a cubic parametric curve segment in(x,y)
coordinate space.Dimension2D TheDimension2D
class is to encapsulate a width and a height dimension.Ellipse2D TheEllipse2D
class describes an ellipse that is defined by a framing rectangle.Line2D ThisLine2D
represents a line segment in(x,y)
coordinate space.NoninvertibleTransformException 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.Path2D ThePath2D
class provides a simple, yet flexible shape which represents an arbitrary geometric path.Path2D.Float TheFloat
class defines a geometric path with coordinates stored in single precision floating point.PathIterator 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.Point2D ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.QuadCurve2D TheQuadCurve2D
class defines a quadratic parametric curve segment in(x,y)
coordinate space.Rectangle2D TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame.RoundRectangle2D 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. -
Classes in java.awt.geom used by java.awt.image Class and Description AffineTransform TheAffineTransform
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.Point2D ThePoint2D
class defines a point representing a location in(x,y)
coordinate space.Rectangle2D TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
. -
Classes in java.awt.geom used by java.awt.image.renderable Class and Description AffineTransform TheAffineTransform
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.Rectangle2D TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
. -
Classes in java.awt.geom used by javax.swing.plaf Class and Description Dimension2D TheDimension2D
class is to encapsulate a width and a height dimension. -
Classes in java.awt.geom used by javax.swing.plaf.basic Class and Description Rectangle2D TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape RectangularShape
is the base class for a number ofShape
objects whose geometry is defined by a rectangular frame. -
Classes in java.awt.geom used by javax.swing.text Class and Description Rectangle2D TheRectangle2D
class describes a rectangle defined by a location(x,y)
and dimension(w x h)
.RectangularShape RectangularShape
is the base class for a number ofShape
objects 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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.