def drawZigzag(page, p1, p2, breadth = <NUM_LIT:2>, color=None, dashes=None,<EOL>width=<NUM_LIT:1>, roundCap=False, overlay=True, morph=None):
img = page.newShape()<EOL>p = img.drawZigzag(Point(p1), Point(p2), breadth = breadth)<EOL>img.finish(color=color, dashes=dashes, width=width, closePath=False,<EOL>roundCap=roundCap, morph=morph)<EOL>img.commit(overlay)<EOL>return p<EOL>
Draw a zigzag line from point p1 to point p2.