public Dimension getSize ()

Gets the size of this Rectangle, represented by the returned Dimension.

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

Returns:  a Dimension, representing the size of this Rectangle.

See also:
java.awt.Component.getSize, setSize(Dimension), setSize(int, int)

Since:  1.1