Exemple #1
0
 public static void FillShape(Polygon ply, Graphics g, Brush b)
 {
     using (GraphicsPath path = ply.GetShape())
         g.FillPath(b, path);
 }
 public static void FillShape(Polygon ply, Graphics g, Brush b)
 {
     using (GraphicsPath path = ply.GetShape())
         g.FillPath(b, path);
 }
Exemple #3
0
 public static void DrawShape(Polygon ply, Graphics g, Pen p)
 {
     using (GraphicsPath path = ply.GetShape())
         g.DrawPath(p, path);
 }
 public static void DrawShape(Polygon ply, Graphics g, Pen p)
 {
     using (GraphicsPath path = ply.GetShape())
         g.DrawPath(p, path);
 }