DrawRectangles

Graphics.DrawRectangles method (1 of 2)

Draws a series of rectangles specified by RectangleF structures.

public void DrawRectangles(Pen pen, RectangleF[] rects)
Parameter Type Description
pen Pen Pen that determines the color, width, and style of the outlines of the rectangles.
rects RectangleF[] Array of RectangleF structures that represent the rectangles to draw.

See Also


Graphics.DrawRectangles method (2 of 2)

Draws a series of rectangles specified by Rectangle structures.

public void DrawRectangles(Pen pen, Rectangle[] rects)
Parameter Type Description
pen Pen Pen that determines the color, width, and style of the outlines of the rectangles.
rects Rectangle[] Array of Rectangle structures that represent the rectangles to draw.

See Also