QuickBasic Graphics

LINE

  • LINE (x, y) - (x2, y2), c, B
  • The first x, y pair is the starting coordinates of the line, the second pair is the ending coordinates.
  • c determines the color of the line.
  • B tells it to make a box from the line and BF tells it to fill the box with the color c.