8.11. Glossary¶
- back¶
Moves the turtle backwards a specified number of units.
- beginfill¶
Begins to fill the shape indicated by the path the turtle takes after calling it.
- delay¶
Adds a delay at the end of the frame.
- endfill¶
Finishes filling the shape the turtle has outlined since calling
beginfill
.- fillcolor¶
Tells the turtle what collor to fill the object it is drawing.
- forward¶
Tells the turtle to go forward a certin number of units.
- goto¶
Moves the turtle to a specified coordinate on the canvas.
- left¶
Turns the turtle to the left a specified number of units.
- pencolor¶
Tells the turtle what color it will draw the outline as.
- penup¶
Tells the turtle to pick up its paintbrush.
- pendown¶
Tells the turtle to put its paintbrush down.
- right¶
Turns the turtle to the right a specified number of units.
- speed¶
Tells the turtle how fast to draw.
- undo queue¶
A queue of actions the turtle has previously taken.
- width¶
Tells the turtle how wide its paintbrush should be.
- write¶
Tells the turtle to write text at its current position.
8.12. Matching¶
-
Q-1:
- what color to fill drawing with.
- turtle.fillcolor
- write some text to the canvas.
- turtle.write
- start filling the shape.
- turtle.beginfill
- stops filling the shape.
- turtle.endfill
- change the paintbrush color.
- turtle.pencolor
- change the paintbrush size.
- turtle.width
- change the speed
- turtle.speed
- move backward.
- turtle.back
- move forward.
- turtle.forward
- move to a specific coordinate.
- turtle.goto