DrawRectangle(Pen,Rect,Size) Method
In This Topic
Draws a rounded rectangle specified by rectangle and size structures.
Syntax
'Declaration
Public Overloads Sub DrawRectangle( _
ByVal As Pen, _
ByVal As Rect, _
ByVal As Size _
)
public void DrawRectangle(
Pen ,
Rect ,
Size
)
Parameters
- pen
- 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