(self, usePos=True)
Closes current line item and starts a new one.
           Remark: if current line became too long, animation
           performance (via _drawline) slowed down considerably.
Closes current line item and starts a new one.
           Remark: if current line became too long, animation
           performance (via _drawline) slowed down considerably.
Closes current line item and starts a new one . Remark : if current line became too long animation performance ( via _drawline ) slowed down considerably .
def _newLine(self, usePos=True):
        """Closes current line item and starts a new one.
           Remark: if current line became too long, animation
           performance (via _drawline) slowed down considerably.
        """
        if len(self.currentLine) > 1:
            self.screen._drawline(self.currentLineItem, self.currentLine,
                                      self._pencolor, self._pensize)
            self.currentLineItem = self.screen._createline()
            self.items.append(self.currentLineItem)
        else:
            self.screen._drawline(self.currentLineItem, top=True)
        self.currentLine = []
        if usePos:
            self.currentLine = [self._position]
def _newLine ( self , usePos = True ) : if len ( self . currentLine ) > 1 : self . screen . _drawline ( self . currentLineItem , self . currentLine , self . _pencolor , self . _pensize ) self . currentLineItem = self . screen . _createline ( ) self . items . append ( self . currentLineItem ) else : self . screen . _drawline ( self . currentLineItem , top = True ) self . currentLine = [ ] if usePos : self . currentLine = [ self . _position ]