public void setRect(Rectangle2D r) { setRect(r.getX(), r.getY(), r.getWidth(), r.getHeight()); }
public abstract void setRect(double x, double y, double w, double h);
  public void setRect(Rectangle2D r)  {    setRect(r.getX(), r.getY(), r.getWidth(), r.getHeight());  }