Region Constructor (GraphicsPath^)
.NET Framework (current version)
Initializes a new Region with the specified GraphicsPath.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- path
-
Type:
System.Drawing.Drawing2D::GraphicsPath^
A GraphicsPath that defines the new Region.
| Exception | Condition |
|---|---|
| ArgumentNullException | path is null. |
This method creates a new Region with a GraphicsPath. The new region is defined as the interior of the GraphicsPath specified by the path parameter.
.NET Framework
Available since 1.1
Available since 1.1
Show: