AddRectangles()

GraphicsPath::AddRectangles(const ArrayPtr<Rectangle>&) method

Adds the specified series of rectangles to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<Rectangle> &rects)

Arguments

ParameterTypeDescription
rectsconst ArrayPtr<Rectangle>&An array of Rectangle objects representing the rectangles to add

GraphicsPath::AddRectangles(const ArrayPtr<RectangleF>&) method

Adds the specified series of rectangles to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<RectangleF> &rects)

Arguments

ParameterTypeDescription
rectsconst ArrayPtr<RectangleF>&An array of RectangleF objects representing the rectangles to add

See Also