System::Drawing::Drawing2D::GraphicsPath::AddRectangles method

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

向当前对象表示的路径添加指定的一系列矩形。

void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<Rectangle> &rects)
参数类型描述
rectsconst ArrayPtr<Rectangle>&一个 Rectangle 对象数组,表示要添加的矩形。

另见

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

向当前对象表示的路径添加指定的一系列矩形。

void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<RectangleF> &rects)
参数类型描述
rectsconst ArrayPtr<RectangleF>&一个 RectangleF 对象数组,表示要添加的矩形。

另见