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