Re: Point in java.awt.geom



On Apr 24, 2:37 pm, "visionset" <s...@xxxxxxxxxxxx> wrote:
Why is there nothing in java.awt.geom that uses a Point?
I want Path type objects and I want to construct them with eg an array of
Points.
GeneralPath etc, they all deal with primitives.
Why is that?

--
Mike W

Actually, a lot of them use Point2D.

Although, its easy enough to use Point.getX() and Point.getY().

I agree though, it would be nice to have Path2D support Point2D as end
points.

.