DrawRoundRect(RectangleF,Single,Single,Pen) Method
In This Topic
Draws a rounded rectangle using a specified pen.
Syntax
'Declaration
Public Overloads Sub DrawRoundRect( _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As Pen _
)
public void DrawRoundRect(
System.Drawing.RectangleF ,
System.float ,
System.float ,
Pen
)
Parameters
- bounds
- A System.Drawing.RectangleF structure that represents the rectangle to draw.
- radiusX
- The x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
- radiusY
- The y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
- pen
- The pen used to draw the rounded rectangle.
See Also