Пример #1
0
 public static void FillShape(Polygon ply, Graphics g, Brush b)
 {
     using (GraphicsPath path = ply.GetShape())
         g.FillPath(b, path);
 }
Пример #2
0
 public static void FillShape(Polygon ply, Graphics g, Brush b)
 {
     using (GraphicsPath path = ply.GetShape())
         g.FillPath(b, path);
 }
Пример #3
0
 public static void DrawShape(Polygon ply, Graphics g, Pen p)
 {
     using (GraphicsPath path = ply.GetShape())
         g.DrawPath(p, path);
 }
Пример #4
0
 public static void DrawShape(Polygon ply, Graphics g, Pen p)
 {
     using (GraphicsPath path = ply.GetShape())
         g.DrawPath(p, path);
 }