示例#1
0
 public Curve( float x,  float y,  float width,  float height,  Angle angle = default(Angle),  float startAngle = 0,  float endAngle = 0,
      CurveType type = CurveType.Pie,  bool assignID = true) : this()
 {
     EllipseData data = new EllipseData(x, y, width, height, angle);
     if (type.SweepAngle())
         Initialize(startAngle, endAngle + startAngle, data, type, assignID, default(PointF), null);
     else
         Initialize(startAngle, endAngle, data, type, assignID, default(PointF), null);
 }