1

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

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

有人能描述一下宽度、高度开始和扫掠角是多少吗?

谢谢你。

4

1 回答 1

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.
于 2013-12-07T16:52:33.957 回答