PaintRoundRectangle Method (DeviceContext)
In This Topic
Paints a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.
Syntax
Parameters
- rectangle
- A System.Drawing.Rectangle indicates the rectangle to paint.
- width
- An int indicates the width of the ellipse used to draw the rounded corners.
- height
- An int indicates the height of the ellipse used to draw the rounded corners.
Exceptions
Exception | Description |
C1.Framework.SystemErrorException | Defines an exception class to handle the system error. |
See Also