Table of Contents

Constructor Region

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Region()

This constructor creates an invalid (empty, null) Region.

public Region()

Region(RectD)

Initializes a new Region from the specified RectD structure.

public Region(RectD rect)

Parameters

rect RectD

A RectD structure that defines the interior of the new Region.

Region(Region)

Initializes a new Region from the specified Region.

public Region(Region region)

Parameters

region Region

A Region that defines the interior of the new Region.

Region(PointD[], FillMode)

Initializes a new Region from the polygon specified by the points array.

public Region(PointD[] points, FillMode fillMode = FillMode.Alternate)

Parameters

points PointD[]

A PointD structures array describing the polygon.

fillMode FillMode

The polygon fill mode.

Region(IRegionHandler)

Initializes a new instance of the Region class.

public Region(IRegionHandler region)

Parameters

region IRegionHandler

Native region instance.