コード例 #1
0
 public void End()
 {
     if (active != null)
     {
         active.MakePolygon(_map);
         polygons.Add(active);
         active = null;
     }
 }
コード例 #2
0
 public void Upload(List <LinkedList <Point> > pointPolygons)
 {
     foreach (var poly in pointPolygons)
     {
         MyPolygon p = new MyPolygon(1);
         foreach (var point in poly)
         {
             var t = p.AddThumb(point, _map);
             _map.Children.Add(t);
         }
         p.MakePolygon(_map);
         polygons.Add(p);
     }
 }