AddRectangle()

GraphicsPath::AddRectangle(const Rectangle&) method

Adds the specified rectangle to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddRectangle(const Rectangle &rect)

Arguments

ParameterTypeDescription
rectconst Rectangle&A rectangle to add

GraphicsPath::AddRectangle(const RectangleF&) method

Adds the specified rectangle to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddRectangle(const RectangleF &rect)

Arguments

ParameterTypeDescription
rectconst RectangleF&A rectangle to add

See Also