DrawRoundedRectangle Method
DrawRoundedRectangle(Pen, Rect, Double)
Draws a rounded rectangle specified by a Rect and a corner radius.
Declaration
public void DrawRoundedRectangle(Pen pen, Rect rect, double cornerRadius)
Parameters
Type | Name | Description |
---|---|---|
Pen | pen | Pen that determines the color, width, and style of the rounded rectangle. |
Rect | rect | A Rect that represents the rectangle to add. |
System.Double | cornerRadius | The corner radius of the rectangle. |