Polygon.getBounds

Polygon.getBounds

Class Overview | Class Members | This Package | All Packages

Syntax
public Rectangle getBounds()
Returns
a rectangle that defines the bounds of this polygon.
Description
Gets the bounding box of this polygon. The bounding box is the smallest rectangle whose sides are parallel to the x and y axes of the coordinate space, and that can completely contain the polygon.