java.awt.geom (Java SE 11 & JDK 11 ) (original) (raw)
The 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
, or PIE
).
This class defines an arc specified in double
precision.
This class defines an arc specified in float
precision.
An Area
object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.
The CubicCurve2D
class defines a cubic parametric curve segment in (x,y)
coordinate space.
A cubic parametric curve segment specified withdouble
coordinates.
A cubic parametric curve segment specified withfloat
coordinates.
The Dimension2D
class is to encapsulate a width and a height dimension.
The Ellipse2D
class describes an ellipse that is defined by a framing rectangle.
The Double
class defines an ellipse specified in double
precision.
The Float
class defines an ellipse specified in float
precision.
The FlatteningPathIterator
class returns a flattened view of another PathIterator object.
The GeneralPath
class represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.
This Line2D
represents a line segment in (x,y)
coordinate space.
A line segment specified with double coordinates.
A line segment specified with float coordinates.
The Path2D
class provides a simple, yet flexible shape which represents an arbitrary geometric path.
The Double
class defines a geometric path with coordinates stored in double precision floating point.
The Float
class defines a geometric path with coordinates stored in single precision floating point.
The Point2D
class defines a point representing a location in (x,y)
coordinate space.
The Double
class defines a point specified indouble
precision.
The Float
class defines a point specified in float precision.
The QuadCurve2D
class defines a quadratic parametric curve segment in (x,y)
coordinate space.
A quadratic parametric curve segment specified withdouble
coordinates.
A quadratic parametric curve segment specified withfloat
coordinates.
The Rectangle2D
class describes a rectangle defined by a location (x,y)
and dimension(w x h)
.
The Double
class defines a rectangle specified in double coordinates.
The Float
class defines a rectangle specified in float coordinates.
RectangularShape
is the base class for a number ofShape objects whose geometry is defined by a rectangular frame.
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.
The Double
class defines a rectangle with rounded corners all specified in double
coordinates.
The Float
class defines a rectangle with rounded corners all specified in float
coordinates.