[]
Initializes a new Region object.
public Region()
This constructor initializes a new Region object with infinite interior.
public Region(Rectangle 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)
Type | Name | Description |
---|---|---|
RegionData | data | A data package save the data of a Region object. |