Region.getBounds

Overview | Methods | This Package | All Packages

Region.getBounds

Retrieves the bounding rectangle for this region.

Syntax

public final Rectangle getBounds()

Return Value

Returns a Rectangle object that specifies the region's bounding rectangle.

Remarks

The rectangle returned by getBounds specifies the smallest rectangle into which this region will fit.