Exemple #1
0
 public VerticalLine(int yDown, int yUp, int x, char sym)
 {
     for (int y = yDown; y < yUp; y++)
     {
         PanelPoints p = new PanelPoints(x, y, sym);
         pointList.Add(p);
     }
 }
 public HorizontalLine(int xLeft, int xRight, int y, char sym)
 {
     for (int x = xLeft; x <= xRight; x++)
     {
         PanelPoints p = new PanelPoints(x, y, sym);
         pointsList.Add(p);
     }
 }