CONTENTS | PREV | NEXT Java 2D API
3.1 Interfaces and Classes
The following tables list the key geometry interfaces and classes. Most of these interfaces and classes are part of the java.awt.geom package. Some, like Shape, are part of the java.awt package, primarily to maintain backw ard compatibility with earlier versions of the JDK software.
Class
DescriptionArc2D.Float
Represents an arc defined by a bounding rectangle, start angle, angular extent, and a closure type. Implemented to specify arcs in float and double precision: Arc2D.Float and Arc2D.Double.
Area
Implements: Shape, Cloneable
Represents an area geometry that supports boolean operations.
CubicCurve2D
Represents a cubic parametric curve segment in (w) coordinate space. Implemented to specify cubic curves in float and double precision: CubicCurve2D.Float and CubicCurve2D.Double.
Dimension2D
Encapsulates a width and height dimension. Abstract superclass for all objects that store a 2D dimension.
Ellipse2D.Float
Represents an ellipse defined by a bounding rectangle. Implemented to specify ellipses in float and double precision: Ellipse2D.Float and Ellipse2D.Double.
FlatteningPathIterator
Returns a flattened view of a PathIterator object.
Can be used to provide flattening behavior for Shapes that don't perform the interpolation calculations themselves.
GeneralPath
Represents a geometric path constructed from lines and quadratic and cubic curves.
Line2D.Float
Represents a line segment in (x, y) coordinate space. Implemented to specify lines in float and double precision: Line2D.Float and Line2D.Double.
Point2D.Float
A point representing a location in (x,y) coordinate space. Implemented to specify points in float and double precision: Point2D.Float and Point2D.Double.
QuadCurve2D.Float
Represents a quadratic parametric curve segment in (x, y) coordinate space. Implemented to specify quadratic curves in float and double precision: QuadCurve2D.Float and QuadCurve2D.Double.
Rectangle2D.Float
Represents a rectangle defined by a location (x, y) and dimension (w x h). Implemented to specify rectangles in float and double precision: Rectangle2D.Float and Rectangle2D.Double.
RectangularShape
Provides common manipulation routines for operating on shapes that have rectangular bounds.
RoundRectangle2D.Float
Represents a rectangle with rounded corners defined by a location (x, y), a dimension (w x h), and the width and height of the corner arc. Implemented to specify round rectangles in float and double precision: RoundRectangle2D.Float and
RoundRectangle2D.Double.
CONTENTS | PREV | NEXT