drawPath
index
 
Name drawPath ()
Description Draw the path traversed by the turtle so far to the screen.
Syntax drawPath(g);
Parameters
g  the graphics object to draw on (Graphics)
Returns None
Example

    Turtle t = new Turtle(this);
    t.forward(100);
    t.right(45);
    t.drawPath(g);