Rectangle.translate
Class Overview | Class Members |
This Package |
All Packages
public void translate( int x,
int y )
Parameters
- dx
- the distance to move the rectangle
along the x axis.
- dy
- the distance to move the rectangle
along the y axis.
Description
Translates the rectangle the indicated distance,
to the right along the x coordinate axis, and
downward along the y coordinate axis.
See Also
setLocation, setLocation