x and x + width - 1. The top and bottom edges are at y and y + height - 1. The resulting rectangle covers an area width pixels wide by height pixels tall. The rectangle is filled using the graphics context's current color.
@param x the x coordinate of the rectangle to be filled.
@param y the y coordinate of the rectangle to be filled.
@param width the width of the rectangle to be filled.
@param height the height of the rectangle to be filled.
@see java.awt.Graphics#clearRect
@see java.awt.Graphics#drawRect
x and x + width - 1. The top and bottom edges are at y and y + height - 1. The resulting rectangle covers an area width pixels wide by height pixels tall. The rectangle is filled using the graphics context's current color.
@param x the x coordinateof the rectangle to be filled.
@param y the y coordinateof the rectangle to be filled.
@param width the width of the rectangle to be filled.
@param height the height of the rectangle to be filled.
@see java.awt.Graphics#fillRect
@see java.awt.Graphics#clearRect
@since JDK1.0
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |