turtle.RawTurtle.begin_fill

RawTurtle.begin_fill()[source]

Called just before drawing a shape to be filled.

No argument.

Example (for a Turtle instance named turtle): >>> turtle.begin_fill() >>> turtle.forward(100) >>> turtle.left(90) >>> turtle.forward(100) >>> turtle.left(90) >>> turtle.forward(100) >>> turtle.left(90) >>> turtle.forward(100) >>> turtle.end_fill()