code: public void setArc (IRectangle rect, double start, double extent, int type) {
          setArc(rect.x(), rect.y(), rect.width(), rect.height(), start, extent, type);
      }
docs: Sets the location, size, angular extents, and closure type of this arc to the specified
  values.