Example #1
0
        public object Clone()
        {
            var clone = new Path();
            var steps = new PathStep[Steps.Count];

            Steps.CopyTo(steps);
            clone.Steps = steps.ToList();

            return(clone);
        }
Example #2
0
 public void Add(PathStep step)
 {
     Steps.Add(step);
 }