drawStep
index
 
Name drawStep ()
Description Draw one step of the path traversed by the turtle so far to the screen.
Syntax drawStep(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.forward(100);
    t.drawStep(g);  //will draw the 1st forward movement
    t.drawStep(g);  //will draw the right movment
    t.drawStep(g);  //will draw the 2nd forward movement