Graphics.drawRoundRect
Class Overview | Class Members | This Package | All Packages
Syntax
public abstract void drawRoundRect( int x**, int** y**, int** width**, int** height**, int** arcWidth**, int** arcHeight )
Parameters
- 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.
Description
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.