System::Drawing::Drawing2D::GraphicsPath::AddEllipse 方法

GraphicsPath::AddEllipse(const Rectangle&) method

向当前对象表示的路径添加指定的椭圆。

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(const Rectangle &rect)
参数类型描述
rectconst Rectangle&指定用于限定要添加的椭圆的矩形

另见

GraphicsPath::AddEllipse(const RectangleF&) method

向当前对象表示的路径添加指定的椭圆。

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(const RectangleF &rect)
参数类型描述
rectconst RectangleF&指定用于限定要添加的椭圆的矩形

另见

GraphicsPath::AddEllipse(float, float, float, float) method

向当前对象表示的路径添加指定的椭圆。

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(float x, float y, float width, float height)
参数类型描述
xfloat限定要添加的椭圆的矩形左上角的 X 坐标
yfloat限定要添加的椭圆的矩形左上角的 Y 坐标
widthfloat限定要添加的椭圆的矩形的宽度
heightfloat限定要添加的椭圆的矩形的高度

另见

GraphicsPath::AddEllipse(int, int, int, int) method

向当前对象表示的路径添加指定的椭圆。

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(int x, int y, int width, int height)
参数类型描述
xint限定要添加的椭圆的矩形左上角的 X 坐标
yint限定要添加的椭圆的矩形左上角的 Y 坐标
widthint限定要添加的椭圆的矩形的宽度
heightint限定要添加的椭圆的矩形的高度

另见