def drawPolyline(page, points, color=None, fill=None, dashes=None,
                 width=1, morph=None, roundCap=False, overlay=True,
                 closePath=False):
    """Draw multiple connected line segments.
    """
    img = page.newShape()
    Q = img.drawPolyline(points)
    img.finish(color=color, fill=fill, dashes=dashes, width=width,
               roundCap=roundCap, morph=morph, closePath=closePath)
    img.commit(overlay)

    return Q
Draw multiple connected line segments.