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

◆ contains() [3/3]

bool xtd::drawing::rectangle_f::contains ( float  x,
float  y 
) const
noexcept

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

Parameters
xThe x-coordinate of the point to test.
yThe y-coordinate of the point to test.
Returns
This method returns true if the point defined by x and y 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.