System::Drawing::Graphics::DrawEllipse 方法

Graphics::DrawEllipse(const SharedPtr<Pen>&, float, float, float, float) method

在当前对象所表示的表面上使用指定的笔绘制指定的椭圆。

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, float x, float y, float width, float height)
ParameterType描述
penconst SharedPtr<Pen>&用于绘制椭圆的 pen
x单精度浮点数定义椭圆的矩形左上角的 X 坐标
y单精度浮点数定义椭圆的矩形左上角的 Y 坐标
width单精度浮点数定义椭圆的矩形的宽度
height单精度浮点数定义椭圆的矩形的高度

另见

Graphics::DrawEllipse(const SharedPtr<Pen>&, int, int, int, int) method

在当前对象所表示的表面上使用指定的笔绘制指定的椭圆。

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, int x, int y, int width, int height)
ParameterType描述
penconst SharedPtr<Pen>&用于绘制椭圆的 pen
xint定义椭圆的矩形左上角的 X 坐标
yint定义椭圆的矩形左上角的 Y 坐标
widthint定义椭圆的矩形的宽度
heightint定义椭圆的矩形的高度

另见

Graphics::DrawEllipse(const SharedPtr<Pen>&, Rectangle) method

在当前对象所表示的表面上使用指定的笔绘制指定的椭圆。

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, Rectangle rect)
ParameterType描述
penconst SharedPtr<Pen>&用于绘制椭圆的 pen
rect矩形定义椭圆的矩形

另见

Graphics::DrawEllipse(const SharedPtr<Pen>&, RectangleF) method

在当前对象所表示的表面上使用指定的笔绘制指定的椭圆。

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, RectangleF rect)
ParameterType描述
penconst SharedPtr<Pen>&用于绘制椭圆的 pen
rectRectangleF定义椭圆的矩形

另见