def drawRect(page, rect, color=None, fill=None, dashes=None,<EOL>width=<NUM_LIT:1>, roundCap=False, morph=None, overlay=True):
img = page.newShape()<EOL>Q = img.drawRect(Rect(rect))<EOL>img.finish(color=color, fill=fill, dashes=dashes, width=width,<EOL>roundCap=roundCap, morph=morph)<EOL>img.commit(overlay)<EOL>return Q<EOL>
Draw a rectangle.