[]
void DrawRectangle(Brush brush, Pen pen, Rectangle rect)
Sub DrawRectangle(brush As Brush, pen As Pen, rect As Rectangle)
Type | Name | Description |
---|---|---|
Brush | brush | The brush with which to fill the rectangle. This is optional, and can be null. If the brush is null, no fill is drawn. |
Pen | pen | The pen with which to stroke the rectangle. This is optional, and can be null. If the pen is null, no stroke is drawn. |
Rectangle | rect | The rectangle to draw. |