public void AddCurve(Point[] points) { var elem = new CurvePathElement { Points = points }; _pathElements.Add(elem); }
public override object Clone() { var ret = new CurvePathElement(); ret.Points = new Point[Points.Length]; Array.Copy(Points, ret.Points, Points.Length); ret.Tension = Tension; return(ret); }
public void AddCurve(Point[] points, float tension) { var elem = new CurvePathElement { Points = points, Tension = tension, }; _pathElements.Add(elem); }