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

◆ is_visible() [12/16]

bool xtd::drawing::region::is_visible ( int32  x,
int32  y,
const xtd::drawing::graphics g 
) const
noexcept

Tests whether the specified point is contained within this xtd::drawing::region when drawn using the specified xtd::drawing::graphics.

Parameters
xThe x-coordinate of the point to test.
yThe y-coordinate of the point to test.
gA xtd::drawing::graphics that represents a graphics context.
Returns
true when the specified point is contained within this xtd::drawing::region; otherwise, false.
Remarks
The current transformation of the graphics context is used to compute the region interior and the rectangle coordinates on the drawing surface.