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

◆ get_outline_rectangle()

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

Gets the computed outline rectangle from specified bounds.

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

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