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