System::Drawing::Drawing2D::GraphicsPath::AddRectangle method

GraphicsPath::AddRectangle(const Rectangle&) method

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

void System::Drawing::Drawing2D::GraphicsPath::AddRectangle(const Rectangle &rect)
参数类型描述
rectconst Rectangle&要添加的矩形

另见

GraphicsPath::AddRectangle(const RectangleF&) method

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

void System::Drawing::Drawing2D::GraphicsPath::AddRectangle(const RectangleF &rect)
参数类型描述
rectconst RectangleF&要添加的矩形

另见