Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.