示例#1
0
文件: GraphicsPath.cs 项目: yaram/Eto
 /// <summary>
 /// Adds an arc into the specified rectangle
 /// </summary>
 /// <remarks>
 /// If the current figure is not closed, it will connect with the start of the arc.
 /// The current position will be moved to the ending point of the arc
 /// </remarks>
 /// <param name="x">The x coordinate of the upper left of the arc</param>
 /// <param name="y">The y coordinate of the upper left of the arc</param>
 /// <param name="width">Width of the rectangle containing the arc</param>
 /// <param name="height">Height of the rectangle containing the arc</param>
 /// <param name="startAngle">Start angle to begin the arc, in degrees</param>
 /// <param name="sweepAngle">Sweep angle (positive or negative) to specify how long the arc is, in degrees</param>
 public void AddArc(float x, float y, float width, float height, float startAngle, float sweepAngle)
 {
     Handler.AddArc(x, y, width, height, startAngle, sweepAngle);
 }