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

◆ is_visible() [9/16]

bool xtd::drawing::region::is_visible ( xtd::drawing::point_f  pt,
const xtd::drawing::graphics g 
) const
noexcept

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

Parameters
ptThe PointF structure to test.
gA xtd::drawing::graphics that represents a graphics context.
Returns
true when 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.