APIdia Launch Partner
Top Description Interfaces Classes
module java.desktop

Package java.awt.geom


Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. Some important features of the package include:
Since
1.2

Interface Summary

Modifier and TypeInterface and Description
public interface
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.

Class Summary

Modifier and TypeClass and Description
public class
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.

public abstract class
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).

pack-priv class
ArcIterator

A utility class to iterate over the path segments of an arc through the PathIterator interface.

public class
Area

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

pack-priv class
public abstract class
CubicCurve2D

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

pack-priv class
CubicIterator

A utility class to iterate over the path segments of a cubic curve segment through the PathIterator interface.

public abstract class
Dimension2D

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

public abstract class
Ellipse2D

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

pack-priv class
EllipseIterator

A utility class to iterate over the path segments of an ellipse through the PathIterator interface.

public class
FlatteningPathIterator

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

public class
GeneralPath

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

public class
IllegalPathStateException

The IllegalPathStateException represents an exception that is thrown if an operation is performed on a path that is in an illegal state with respect to the particular operation being performed, such as appending a path segment to a GeneralPath without an initial moveto.

public abstract class
Line2D

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

pack-priv class
LineIterator

A utility class to iterate over the path segments of a line segment through the PathIterator interface.

public class
NoninvertibleTransformException

The NoninvertibleTransformException class represents an exception that is thrown if an operation is performed requiring the inverse of an AffineTransform object but the AffineTransform is in a non-invertible state.

public abstract class
Path2D

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

public abstract class
Point2D

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

public abstract class
QuadCurve2D

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

pack-priv class
QuadIterator

A utility class to iterate over the path segments of a quadratic curve segment through the PathIterator interface.

public abstract class
Rectangle2D

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

public abstract class
RectangularShape

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

pack-priv class
RectIterator

A utility class to iterate over the path segments of a rectangle through the PathIterator interface.

public abstract class
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.

pack-priv class
RoundRectIterator

A utility class to iterate over the path segments of an rounded rectangle through the PathIterator interface.