示例#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);
     }
 }
示例#3
0
 public void Start(sbyte mark)
 {
     active = new MyPolygon(mark);
 }