DrawRectangles()

Graphics::DrawRectangles(const SharedPtr<Pen>&, const ArrayPtr<Rectangle>&) method

Draws a series of rectangles using the specified pen.

void System::Drawing::Graphics::DrawRectangles(const SharedPtr<Pen> &pen, const ArrayPtr<Rectangle> &rects)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the rectangles
rectsconst ArrayPtr<Rectangle>&Array of rectangles to draw

Graphics::DrawRectangles(const SharedPtr<Pen>&, const ArrayPtr<RectangleF>&) method

Draws a series of rectangles using the specified pen.

void System::Drawing::Graphics::DrawRectangles(const SharedPtr<Pen> &pen, const ArrayPtr<RectangleF> &rects)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the rectangles
rectsconst ArrayPtr<RectangleF>&Array of rectangles to draw

See Also