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

◆ is_empty() [2/2]

bool xtd::drawing::region::is_empty ( const xtd::drawing::graphics g) const
noexcept

Tests whether this xtd::drawing::region has an empty interior on the specified drawing surface.

Parameters
gA xtd::drawing::graphics that represents a drawing surface.
Returns
true if the interior of this xtd::drawing::region is empty when the transformation associated with g is applied; otherwise, false.
Remarks
The current transformation of the graphics context g is used to compute the region interior on the drawing surface.