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

◆ add() [4/4]

static rectangle_f xtd::drawing::rectangle_f::add ( const rectangle_f rect,
const drawing::size_f sz 
)
staticnoexcept

Creates and returns an added copy of the specified xtd::drawing::rectangle_f structure. The copy is added by the specified amount. The original xtd::drawing::rectangle_f structure remains unmodified.

Parameters
rectThe xtd::drawing::rectangle_f with which to start. This rectangle is not modified.
szThe amount to add the specified rectangle.
Returns
The added xtd::drawing::rectangle_f.
Remarks
This method makes a copy of rect, adds the copy, and then returns the added copy.