Polygon.addPoint

Polygon.addPoint

Class Overview | Class Members | This Package | All Packages

Syntax
public void addPoint( int x, int y )
Parameters
x
the x coordinate of the point.
y
the y coordinate of the point.
Description
Appends a point to this polygon.

If an operation that calculates the bounding box of this polygon has already been performed, such as getBounds or contains, then this method updates the bounding box.

See Also
getBounds, contains