code: def drawSector(page, center, point, beta, color=None, fill=None,
                dashes=None, fullSector=True, morph=None,
                width=1, closePath=False, roundCap=False, overlay=True):
      
      img = page.newShape()
      Q = img.drawSector(Point(center), Point(point), beta, fullSector=fullSector)
      img.finish(color=color, fill=fill, dashes=dashes, width=width,
                 roundCap=roundCap, morph=morph, closePath=closePath)
      img.commit(overlay)
      
      return Q
docs: Draw a circle sector given circle center, one arc end point and the angle of the arc.
      
      Parameters:
          center -- center of circle
          point -- arc end point
          beta -- angle of arc (degrees)
          fullSector -- connect arc ends with center