DrawRectangles Method
DrawRectangles(Pen, Rect[])
Draws a series of rectangles specified by Rect structures.
Declaration
public void DrawRectangles(Pen pen, Rect[] rects)
Parameters
Type | Name | Description |
---|---|---|
Pen | pen | Pen that determines the color, width, and style of the outlines of the rectangles. |
Rect[] | rects | Array of Rect structures that represent the rectangles to draw. |