Deutsch English |
YOU LEARN HERE... |
that the Turtle can remember its movement in order to fill a closed figure drawn by it with a color. |
EXAMPLES |
To fill a figure, you first tell the Turtle with startPath() that it should remember the figure drawn next, starting from the current location. With the fillPath() function, the current location is connected to the start location and the enclosed area is colored. With setFillColor() you can specify the fill color (if you say nothing, it is black by default). If you do not want visible outlines, you must also set the pen color to “magenta”.
CIRCLE AS POLYGON
|
TO SOLVE BY YOURSELF |
|