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
(width + 1)
pixels wide by (height + 1)
pixels tall. If either width or height is less than zero, nothing is drawn.
@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 #fillRect(int,int,int,int)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|