FillRectangles()

Graphics::FillRectangles(const SharedPtr<Brush>&, const ArrayPtr<Rectangle>&) method

Fills a series of rectangles using the specified brush.

void System::Drawing::Graphics::FillRectangles(const SharedPtr<Brush> &brush, const ArrayPtr<Rectangle> &rects)

Arguments

ParameterTypeDescription
brushconst SharedPtr<Brush>&A brush to use when filling the rectangles
rectsconst ArrayPtr<Rectangle>&Array of rectangles to draw

Graphics::FillRectangles(const SharedPtr<Brush>&, const ArrayPtr<RectangleF>&) method

Fills a series of rectangles using the specified brush.

void System::Drawing::Graphics::FillRectangles(const SharedPtr<Brush> &brush, const ArrayPtr<RectangleF> &rects)

Arguments

ParameterTypeDescription
brushconst SharedPtr<Brush>&A brush to use when filling the rectangles
rectsconst ArrayPtr<RectangleF>&Array of rectangles to draw

See Also