(self)
Called just before drawing a shape to be filled.

        No argument.

        Example (for a Turtle instance named turtle):
        >>> turtle.color("black", "red")
        >>> turtle.begin_fill()
        >>> turtle.circle(60)
        >>> turtle.end_fill()
Called just before drawing a shape to be filled.
Called just before drawing a shape to be filled .
def begin_fill(self):
        """Called just before drawing a shape to be filled.

        No argument.

        Example (for a Turtle instance named turtle):
        >>> turtle.color("black", "red")
        >>> turtle.begin_fill()
        >>> turtle.circle(60)
        >>> turtle.end_fill()
        """
        if not self.filling():
            self._fillitem = self.screen._createpoly()
            self.items.append(self._fillitem)
        self._fillpath = [self._position]
        self._newLine()
        if self.undobuffer:
            self.undobuffer.push(("beginfill", self._fillitem))
        self._update()
def begin_fill ( self ) : if not self . filling ( ) : self . _fillitem = self . screen . _createpoly ( ) self . items . append ( self . _fillitem ) self . _fillpath = [ self . _position ] self . _newLine ( ) if self . undobuffer : self . undobuffer . push ( ( "beginfill" , self . _fillitem ) ) self . _update ( )