x
and x + width
. The top and bottom edges are at y
and y + height
. The rectangle is drawn using the graphics context's current color.
@param x the x coordinate of the rectangle to be drawn.
@param y the y coordinate of the rectangle to be drawn.
@param width the width of the rectangle to be drawn.
@param height the height of the rectangle to be drawn.
@see java.awt.Graphics#fillRect
@see java.awt.Graphics#clearRect
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|