int npoints
npoints
represents the number of valid points in this Polygon
.float[] xpoints
npoints
is equal to the
number of points in this Polygon2D
.float[] ypoints
npoints
is equal to the
number of points in this Polygon2D
.java.awt.geom.Rectangle2D bounds
Polygon2D.getBounds()
java.awt.geom.GeneralPath path
java.awt.geom.GeneralPath closedPath
int npoints
npoints
represents the number of points in this Polyline2D
.float[] xpoints
npoints
is equal to the
number of points in this Polyline2D
.float[] ypoints
npoints
is equal to the
number of points in this Polyline2D
.java.awt.geom.Rectangle2D bounds
Polyline2D.getBounds()
java.awt.geom.GeneralPath path
java.awt.geom.GeneralPath closedPath