previous | start | next

## Hierarchy of Geometrical Shapes

- First version of Java: few shapes, integer coordinates

      Point

      Rectangle

      Polygon

- Java 2: sophisticated shapes, floating-point coordinates

      Point2D

      Rectangle2D

      RoundRectangle2D

      Line2D

      Ellipse2D

      Arc2D

      QuadCurve2D

      CubicCurve2D

      GeneralPath

      Area

- All but `Point2D` implement `Shape` interface type

previous | start | next