[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Region.-ctor

Region Constructor

Region(params IFigure[])

Initializes a new instance of the Region class with the alternate fill mode.

Declaration
public Region(params IFigure[] figures)
Public Sub New(ParamArray figures As IFigure())
Parameters
Type Name Description
IFigure[] figures

The array of figures to be added to the region.

Region(FillMode, params IFigure[])

Initializes a new instance of the Region class with explicitly provided fill mode.

Declaration
public Region(FillMode fillMode, params IFigure[] figures)
Public Sub New(fillMode As FillMode, ParamArray figures As IFigure())
Parameters
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.

Region(GraphicsPath, bool)

Initializes a new instance of the Region class.

Declaration
public Region(GraphicsPath path, bool cloneFigures = true)
Public Sub New(path As GraphicsPath, Optional cloneFigures As Boolean = True)
Parameters
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.