Moves this Rectangle to the specified location.
This method is included for completeness, to parallel the
setLocation method of Component.
x | the X coordinate of the new location | |
y | the Y coordinate of the new location |
getLocation, java.awt.Component.setLocation(int, int)
Diagram: Rectangular Shapes