xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_border_rectangle()

virtual xtd::drawing::rectangle xtd::forms::style_sheets::ibox_model::get_border_rectangle ( const xtd::drawing::rectangle bounds) const
pure virtualnoexcept

Gets the computed boder rectangle from specified bounds.

Parameters
boundsThe bounds use to compute the borfder rectangle with this box instance.
Returns
The computed boder rectangle from specified bounds.
Remarks
The border rectangle is euqual to bounds rectangle minus margin.

Implemented in xtd::forms::style_sheets::control.