code: public void setRoundRect (IRoundRectangle rr) {
          setRoundRect(rr.x(), rr.y(), rr.width(), rr.height(),
                       rr.arcWidth(), rr.arcHeight());
      }
docs: Sets the frame and corner dimensions of this rectangle to be equal to those of the supplied
  rectangle.