AddArc c# - 解释

时间:2013-12-07 16:49:34

标签: c# graphics drawing graphicspath

我想使用c#代码为我的绘图添加弧。语法是:

AddArc(
    int x,
    int y,
    int width,
    int height,
    float startAngle,
    float sweepAngle)

有人可以形容我的宽度,高度开始和扫掠角度是什么?

谢谢。

1 个答案:

答案 0 :(得分:0)

我不喜欢这种答案,但是......

来自GraphicsPath.AddArc Method (Int32, Int32, Int32, Int32, Single, Single)

width  
The width of the rectangular region that defines the ellipse from which the arc is drawn.

height
The height of the rectangular region that defines the ellipse from which the arc is drawn.

startAngle 
The starting angle of the arc, measured in degrees clockwise from the x-axis.

sweepAngle  
The angle between startAngle and the end of the arc.