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

◆ contains() [1/3]

bool xtd::drawing::rectangle::contains ( const xtd::drawing::point pt) const
noexcept

Determines if the specified point is contained within this xtd::drawing::rectangle structure.

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