Gets the border rectangle from the specified rectangle.
Implements xtd::forms::style_sheets::ibox_model.