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

◆ is_visible() [4/8]

bool xtd::drawing::graphics::is_visible ( float  x,
float  y,
float  width,
float  height 
)

Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this xtd::drawing::graphics.

Parameters
xThe x-coordinate of the upper-left corner of the rectangle to test for visibility.
yThe y-coordinate of the upper-left corner of the rectangle to test for visibility.
widthWidth of the rectangle to test for visibility.
heightHeight of the rectangle to test for visibility.
Returns
true if the rectangle defined by the x, y, width, and height parameters is contained within the visible clip region of this xtd::drawing::graphics; otherwise, false.