Overview | Methods | This Package | All Packages
Draws a rectangle with rounded corners using the current pen and fill brush.
Syntax
public final void drawRoundedRect( Rectangle rect, int radius )
public final void drawRoundedRect( Rectangle rect, int radius, RasterOp op )
public final void drawRoundedRect( int x, int y, int width, int height, int radius )
public final void drawRoundedRect( int x, int y, int width, int height, int radius, RasterOp op )
Parameters
rect
A Rectangle object that identifies the rectangle to draw.
x
The x-coordinate of the rectangle's upper-left corner.
y
The y-coordinate of the rectangle's upper-left corner.
width
The width of the rectangle.
height
The height of the rectangle.
radius
The radius of each of the corners or the rectangle.
op
A RasterOp object that describes how to render the rectangle.
See Also drawRect