code: public void setFrameFromCenter (XY center, XY corner) {
          setFrameFromCenter(center.x(), center.y(), corner.x(), corner.y());
      }
docs: Sets the location and size of the framing rectangle of this shape based on the supplied
  center and corner points.