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:
- classes for manipulating geometry, such as AffineTransform and the PathIterator interface which is implemented by all Shape objects.
- classes that implement the Shape interface, such as CubicCurve2D, Ellipse2D, Line2D, Rectangle2D, and GeneralShape.
- the Area class which provides mechanisms for add (union), subtract, intersect, and exclusiveOR operations on other Shape objects.
- Since:
- 1.2
| Interface | Description |
|---|---|
| PathIterator | The |
| Class | Description |
|---|---|
| AffineTransform | The |
| Arc2D |
|
| Arc2D.Double | This class defines an arc specified in |
| Arc2D.Float | This class defines an arc specified in |
| Area | An |
| CubicCurve2D | The |
| CubicCurve2D.Double | A cubic parametric curve segment specified with |
| CubicCurve2D.Float | A cubic parametric curve segment specified with |
| Dimension2D | The |
| Ellipse2D | The |
| Ellipse2D.Double | The |
| Ellipse2D.Float | The |
| FlatteningPathIterator | The |
| GeneralPath | The |
| Line2D | This |
| Line2D.Double | A line segment specified with double coordinates. |
| Line2D.Float | A line segment specified with float coordinates. |
| Path2D | The |
| Path2D.Double | The |
| Path2D.Float | The |
| Point2D | The |
| Point2D.Double | The |
| Point2D.Float | The |
| QuadCurve2D | The |
| QuadCurve2D.Double | A quadratic parametric curve segment specified with |
| QuadCurve2D.Float | A quadratic parametric curve segment specified with |
| Rectangle2D | The |
| Rectangle2D.Double | The |
| Rectangle2D.Float | The |
| RectangularShape |
|
| RoundRectangle2D | The |
| RoundRectangle2D.Double | The |
| RoundRectangle2D.Float | The |
| Exception | Description |
|---|---|
| IllegalPathStateException | The |
| NoninvertibleTransformException | The |