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

◆ contains() [2/3]

bool xtd::drawing::rectangle::contains ( const xtd::drawing::rectangle rect) const
noexcept

Determines if the rectangular region represented by rect is entirely contained within this xtd::drawing::rectangle structure.

Parameters
rectThe xtd::drawing::rectangle to test.
Returns
This method returns true if the rectangular region represented by rect is entirely contained within this xtd::drawing::rectangle structure; otherwise false.
Remarks
The containing rectangle must be normalized for this method to return accurate results.