Draws an outlined round-cornered rectangle using this graphics
context's current color. The left and right edges of the rectangle
are at x and x + width,
respectively. The top and bottom edges of the rectangle are at
y and y + height.
x | the x coordinate of the rectangle to be drawn. | |
y | the y coordinate of the rectangle to be drawn. | |
width | the width of the rectangle to be drawn. | |
height | the height of the rectangle to be drawn. | |
arcWidth | the horizontal diameter of the arc at the four corners. | |
arcHeight | the vertical diameter of the arc at the four corners. |
java.awt.Graphics.fillRoundRect
Diagram: Graphics