[]
Initializes a new Region object.
public Region()
Public Sub New()
This constructor initializes a new Region object with infinite interior.
public Region(Rectangle rectangle)
Public Sub New(rectangle As Rectangle)
| Type | Name | Description |
|---|---|---|
| Rectangle | rectangle | A Rectangle structure that defines the interior of the new Region object. |
This method creates a new Region object with a rectangular interior.
The interior is defined by the rectangle parameter.
Initializes a new Region object from the RegionData object.
public Region(RegionData data)
Public Sub New(data As RegionData)
| Type | Name | Description |
|---|---|---|
| RegionData | data | A data package save the data of a Region object. |