Пример #1
0
 public virtual void Draw(Graphics g)
 {
     if (pol.NVertex() >= 3)
     {
         //g.SetColor(col);
         int[] ix = pol.IxArray();
         int[] iy = pol.IyArray();
         int   n  = ix.Length;
         //g.FillPolygon(ix, iy, n);
     }
 }
Пример #2
0
 public virtual void Draw(Graphics g)
 {
     if ((pol.NVertex() >= 3) && (faceflag))
     {
         //   g.SetColor(col);
         int[] ix = pol.IxArray();
         int[] iy = pol.IyArray();
         int   n  = ix.Length;
         g.FillPolygon(new SolidBrush(col), pol.xyArray());
     }
 }