@Transient
public Rectangle getBounds ()

Implementing: java.awt.Shape

Gets the bounding Rectangle of this Rectangle.

This method is included for completeness, to parallel the getBounds method of Component.

Returns:  a new Rectangle, equal to the bounding Rectangle for this Rectangle.

See also:
java.awt.Component.getBounds, setBounds(Rectangle), setBounds(int, int, int, int)

Since:  1.1