Draws a rounded rectangle specified by rectangle and size structures.
Syntax
'Declaration
Public Overloads Sub DrawRectangle( _
ByVal As System.Drawing.Pen, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Drawing.SizeF _
)
public void DrawRectangle(
System.Drawing.Pen ,
System.Drawing.RectangleF ,
System.Drawing.SizeF
)
Parameters
- pen
- System.Drawing.Pen object that determines the color, width, and style of the rectangle.
- rc
- A rectangle structure that represents the rectangle to draw.
- corners
- A size structure that contains the radius of the rectangle corners.
See Also