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

◆ is_visible() [8/16]

bool xtd::drawing::region::is_visible ( int32  x,
int32  y,
int32  width,
int32  height 
) const
noexcept

Tests whether any portion of the specified rectangle is contained within this xtd::drawing::region.

Parameters
xThe x-coordinate of the upper-left corner of the rectangle to test.
yThe y-coordinate of the upper-left corner of the rectangle to test.
widthThe width of the rectangle to test.
heightThe height of the rectangle to test.
Returns
true when any portion of the specified rectangle is contained within this xtd::drawing::region; otherwise, false.