[]
Draws a rounded rectangle with the specified Brush and Pen.
void DrawRoundedRectangle(Brush brush, Pen pen, Rectangle rect, double radiusX, double radiusY)
Sub DrawRoundedRectangle(brush As Brush, pen As Pen, rect As Rectangle, radiusX As Double, radiusY As Double)
Type | Name | Description |
---|---|---|
Brush | brush | The brush used to fill the rectangle. |
Pen | pen | The pen used to stroke the rectangle. |
Rectangle | rect | The rectangle to draw. |
double | radiusX | The radius in the X dimension of the rounded corners. This value will be clamped to the range of 0 to Width/2. |
double | radiusY | The radius in the Y dimension of the rounded corners. This value will be clamped to a value between 0 to Height/2. |