code: def drawBezier(page, p1, p2, p3, p4, color=None, fill=None,
                 dashes=None, width=1, morph=None,
                 closePath=False, roundCap=False, overlay=True):
      
      img = page.newShape()
      Q = img.drawBezier(Point(p1), Point(p2), Point(p3), Point(p4))
      img.finish(color=color, fill=fill, dashes=dashes, width=width,
                 roundCap=roundCap, morph=morph, closePath=closePath)
      img.commit(overlay)
      
      return Q
docs: Draw a general cubic Bezier curve from p1 to p4 using control points p2 and p3.