code: public void setFrame (XY loc, IDimension size) {
          setFrame(loc.x(), loc.y(), size.width(), size.height());
      }
docs: Sets the location and size of the framing rectangle of this shape to the supplied values.