Graphics.DrawEllipse 方法(椭圆)

重载列表

 

 

名称

说明

 

DrawEllipse(Pen, Int32, Int32, Int32, Int32)

绘制一个由边框定义的椭圆,该边框由矩形的左上角坐标

pen

Type: System.Drawing.Pen

Pen,它确定曲线的颜色、宽度和样式。

x

Type: System.Int32

定义椭圆的边框的左上角的 X 坐标。

y

Type: System.Int32

定义椭圆的边框的左上角的 Y 坐标。

width

Type: System.Int32

定义椭圆的边框的宽度。

height

Type: System.Int32

定义椭圆的边框的高度。

 

来自 <https://msdn.microsoft.com/zh-cn/library/wt06kxfd(v=vs.110).aspx>

 

、高度和宽度指定。

 

DrawEllipse(Pen, Rectangle)

绘制边界 Rectangle 结构指定的椭圆。

 

DrawEllipse(Pen, RectangleF)

绘制边界 RectangleF 定义的椭圆。

 

DrawEllipse(Pen, Single, Single, Single, Single)

绘制一个由边框(该边框由一对坐标、高度和宽度指定)定义的椭圆。

 

来自 <https://msdn.microsoft.com/zh-cn/library/system.drawing.graphics.drawellipse(v=vs.110).aspx>

 

posted @ 2018-01-21 08:00  奔跑的蒲公英  阅读(7336)  评论(0编辑  收藏  举报