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

◆ contains() [1/3]

bool xtd::drawing::rectangle_f::contains ( const point_f pt) const
noexcept

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

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