示例#1
0
 public void DrawWallRed(Wall wall)
 {
     g.DrawLine(new Pen(Brushes.Red, 4), new PointF(wall.V1.X, wall.V1.Y), new PointF(wall.V2.X, wall.V2.Y));
 }
示例#2
0
 public void DrawWallBlack(Wall wall)
 {
     g.DrawLine(new Pen(Brushes.Black, 4), new PointF(wall.V1.X, wall.V1.Y), new PointF(wall.V2.X, wall.V2.Y));
 }
示例#3
0
 public void DrawWallGreen(Wall wall)
 {
     g.DrawLine(new Pen(Brushes.LightGreen, 4), new PointF(wall.V1.X, wall.V1.Y), new PointF(wall.V2.X, wall.V2.Y));
 }