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

◆ from_hrgn()

static xtd::drawing::region xtd::drawing::region::from_hrgn ( intptr  hrgn)
static

Initializes a new xtd::drawing::region from a handle to the specified existing GDI region.

Parameters
hrgnA handle to an existing xtd::drawing::region.
Returns
The new xtd::drawing::region.
Remarks
This method creates a new xtd::drawing::region with an interior defined by the existing xtd::drawing::region referred to by the handle in the hrgn parameter.