public void setArc(Rectangle2D r, double start, double extent, int type) { setArc(r.getX(), r.getY(), r.getWidth(), r.getHeight(), start, extent, type); }
public abstract void setArc(double x, double y, double w, double h, double start, double extent, int type);
  public void setArc(Rectangle2D r, double start, double extent, int type)  {    setArc(r.getX(), r.getY(), r.getWidth(), r.getHeight(), start, extent, type);	}