code: public void setFrame (IRectangle r) {
          setFrame(r.x(), r.y(), r.width(), r.height());
      }
docs: Sets the location and size of the framing rectangle of this shape to be equal to the
  supplied rectangle.