PathIterator

The PathIterator interface provides the mechanism for objects that implement the Shape interface to return the geometry of their boundary by allowing a caller to retrieve the path of that boundary a segment at a time.

Shape

The Shape interface provides definitions for objects that represent some form of geometric shape.

AffineTransform

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

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).

ArcD

This class defines an arc specified in double precision.

ArcF

This class defines an arc specified in float precision.

Area

An Area object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.

CubicCurve2D

The CubicCurve2D class defines a cubic parametric curve segment in (x, y) coordinate space.

CubicCurveD

A cubic parametric curve segment specified with double coordinates.

CubicCurveF

A cubic parametric curve segment specified with float coordinates.

Dimension

The Dimension class encapsulates the width and height of a component (in integer precision) in a single object.

Dimension2D

The Dimension2D class is to encapsulate a width and a height dimension.

Ellipse2D

The Ellipse2D class describes an ellipse that is defined by a framing rectangle.

EllipseD

The EllipseD class defines an ellipse specified in double precision.

EllipseF

The EllipseF class defines an ellipse specified in float precision.

FlatteningPathIterator

The FlatteningPathIterator class returns a flattened view of another PathIterator object.

GeneralPath

The GeneralPath class represents a geometric path constructed from straight lines, and quadratic and cubic (Bezier) curves.

Line2D

This Line2D represents a line segment in (x, y) coordinate space.

LineD

A line segment specified with double coordinates.

LineF

A line segment specified with float coordinates.

Path2D

The Path2D class provides a simple, yet flexible shape which represents an arbitrary geometric path.

PathD

The PathD class defines a geometric path with coordinates stored in double precision floating point.

PathF

The PathF class defines a geometric path with coordinates stored in single precision floating point.

Point

A point representing a location in (x, y) coordinates space, specified in integer precision.

Point2D

The Point2D class defines a point representing a location in (x, y) coordinate space.

PointD

The PointD class defines a point specified in double precision.

PointF

The PointF class defines a point specified in float precision.

Polygon

The Polygon class encapsulates a description of a closed, two-dimensional region within a coordinate space.

Polyline

The Polyline class encapsulates a description of a collection of line segments within a coordinate space.

QuadCurve2D

The QuadCurve2D class defines a quadratic parametric curve segment in (x, y) coordinate space.

QuadCurveD

A quadratic parametric curve segment specified with double coordinates.

QuadCurveF

A quadratic parametric curve segment specified with float coordinates.

Rectangle

A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's upper-left point (x, y) in the coordinate space, its width, and its height.

Rectangle2D

The Rectangle2D class describes a rectangle defined by a location (x, y) and dimension (w x h).

RectangleD

The RectangleD class defines a rectangle specified in double coordinates.

RectangleF

The RectangleF class defines a rectangle specified in float coordinates.

RectangularShape

RectangularShape is the base class for a number of Shape objects whose geometry is defined by a rectangular frame.

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.

RoundRectangleD

The RoundRectangleD class defines a rectangle with rounded corners all specified in double coordinates.

RoundRectangleF

The RoundRectangleF class defines a rectangle with rounded corners all specified in float coordinates.