

def drawlines(self, pointlist, closed=False, char=' ', fgcolor=None, bgcolor=None):
    if (len(pointlist) < 2):
        return
    for i in range((len(pointlist) - 1)):
        self.drawline(pointlist[i], pointlist[(i + 1)], char, fgcolor, bgcolor)
    if closed:
        self.drawline(pointlist[(- 1)], pointlist[0], char, fgcolor, bgcolor)

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseSurface.drawlines/original