src/main/java/org/teachingextensions/logo/utils/MazeUtils/StdDraw.java
public static void line(double x0, double y0, double x1, double y1)
  {
    offscreen.draw(new Line2D.Double(scaleX(x0), scaleY(y0), scaleX(x1), scaleY(y1)));
    draw();
  }
public static void line(double x0, double y0, double x1, double y1)
  {
    offscreen.draw(new Line2D.Double(scaleX(x0), scaleY(y0), scaleX(x1), scaleY(y1)));
    draw();
  }
public static void line ( double x0 , double y0 , double x1 , double y1 ) { offscreen . draw ( new Line2D . Double ( scaleX ( x0 ) , scaleY ( y0 ) , scaleX ( x1 ) , scaleY ( y1 ) ) ) ; draw ( ) ; }
Draws a line segment between (<em>x</em><sub>0</sub>, <em>y</em><sub>0</sub>) and
(<em>x</em><sub>1</sub>, <em>y</em><sub>1</sub>).

@param  x0 the <em>x</em>-coordinate of one endpoint
@param  y0 the <em>y</em>-coordinate of one endpoint
@param  x1 the <em>x</em>-coordinate of the other endpoint
@param  y1 the <em>y</em>-coordinate of the other endpoint
Draws a line segment between ( <em > x< / em > <sub > 0< / sub > <em > y< / em > <sub > 0< / sub > ) and ( <em > x< / em > <sub > 1< / sub > <em > y< / em > <sub > 1< / sub > ) .