public void AddPaths(Paths poly) { if (poly.Count == 0) { return; } PolyInfo pi = new PolyInfo(); pi.polygons = poly; pi.si = style.Clone(); PolyInfoList.Add(pi); }