[]
Initializes a new instance of the Region class with the alternate fill mode.
public Region(params IFigure[] figures)
Public Sub New(ParamArray figures As IFigure())
Type | Name | Description |
---|---|---|
IFigure[] | figures | The array of figures to be added to the region. |
Initializes a new instance of the Region class with explicitly provided fill mode.
public Region(FillMode fillMode, params IFigure[] figures)
Public Sub New(fillMode As FillMode, ParamArray figures As IFigure())
Type | Name | Description |
---|---|---|
FillMode | fillMode | Specifies how the interior of closed figures is filled. |
IFigure[] | figures | The array of figures to be added to the region. |
Initializes a new instance of the Region class.
public Region(GraphicsPath path, bool cloneFigures = true)
Public Sub New(path As GraphicsPath, Optional cloneFigures As Boolean = True)
Type | Name | Description |
---|---|---|
GraphicsPath | path | The path to be added to the region. |
bool | cloneFigures | Indicates if the source path figures should be cloned before adding to the new region. |