示例#1
0
文件: GraphicsPath.cs 项目: yaram/Eto
 /// <summary>
 /// Adds a bezier curve to the path with two control points
 /// </summary>
 /// <remarks>
 /// If the current figure is not closed, it will connect with the <paramref name="start"/> of the bezier curve.
 /// The current position will be moved to the <paramref name="end"/> point.
 /// </remarks>
 /// <param name="start">Starting point of the bezier curve</param>
 /// <param name="control1">First control point of the curve</param>
 /// <param name="control2">Second control point of the curve</param>
 /// <param name="end">Ending point of the bezier curve</param>
 public void AddBezier(PointF start, PointF control1, PointF control2, PointF end)
 {
     Handler.AddBezier(start, control1, control2, end);
 }