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

◆ make_intersect() [2/2]

static rectangle xtd::drawing::rectangle::make_intersect ( const rectangle a,
const rectangle b 
)
staticnoexcept

Returns a third xtd::drawing::rectangle structure that represents the intersection of two other xtd::drawing::rectangle structures. If there is no intersection, an empty xtd::drawing::rectangle is returned.

Parameters
aA rectangle to intersect.
bA rectangle to intersect.
Returns
A xtd::drawing::rectangle that represents the intersection of a and b.