Name: rmT116609 Date: 09/29/2000
java version 1.2.2
The Polygon class only supports integer vertices. It does not allow a polygon
to be constructed where the vertices lie on a float or double; nor are there
any methods in the Ploygon class to support adding Point objects or other ways
of constructing an enclosed Shape.
The classes in the java.awt.geom package are not suitable for creating an
arbitary shape with a number of vertices where the vertices are not exactly on
an integer location. Modifying the Polygon class, or providing an alternative,
would seem to be a useful addition.
(Review ID: 109533)
======================================================================