[]
Creating a region object.
public XLRegion(FillMode fillMode = FillMode.Alternate)
Public Sub New(Optional fillMode As FillMode = FillMode.Alternate)
| Type | Name | Description |
|---|---|---|
| FillMode | fillMode | The initial fill mode. |
Creating a region object.
public XLRegion(PointF[] points, FillMode fillMode = FillMode.Alternate)
Public Sub New(points As PointF(), Optional fillMode As FillMode = FillMode.Alternate)
| Type | Name | Description |
|---|---|---|
| PointF[] | points | The point array. |
| FillMode | fillMode | The initial fill mode. |
Creating a region object.
[CLSCompliant(false)]
public XLRegion(PointF[][] points, FillMode fillMode = FillMode.Alternate)
<CLSCompliant(False)>
Public Sub New(points As PointF()(), Optional fillMode As FillMode = FillMode.Alternate)
| Type | Name | Description |
|---|---|---|
| PointF[][] | points | The point double array. |
| FillMode | fillMode | The initial fill mode. |
Initializes a new instance of the XLRegion class.
public XLRegion(RectangleF rect, FillMode fillMode = FillMode.Alternate)
Public Sub New(rect As RectangleF, Optional fillMode As FillMode = FillMode.Alternate)
| Type | Name | Description |
|---|---|---|
| RectangleF | rect | The rectangle to be added to the region. |
| FillMode | fillMode | The initial fill mode. |
Initializes a new instance of the XLRegion class.
public XLRegion(XLPath path, bool closeFigures = true)
Public Sub New(path As XLPath, Optional closeFigures As Boolean = True)
| Type | Name | Description |
|---|---|---|
| XLPath | path | The path to be added to the region. |
| bool | closeFigures | Indicates if the current path figures should be closed into a new region. |