Table of Contents

Class Region

Namespace
LightningChartLib.WinForms.Charting.Maps
Assembly
LightningChart.WinForms.Charting.NET4.dll

Region.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class Region : MapItem, IChartNode, IDisposable
Inheritance
Region
Implements
Inherited Members

Constructors

Region()

Constructor.

public Region()

Region(MapLayer, LayerType)

Constructor.

public Region(MapLayer owner, MapLayer.LayerType lType)

Parameters

owner MapLayer
param owner M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType)
lType MapLayer.LayerType
param lType M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType)

Region(MapLayer, LayerType, int)

Constructor.

public Region(MapLayer owner, MapLayer.LayerType lType, int id)

Parameters

owner MapLayer
param owner M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType,System.Int32)
lType MapLayer.LayerType
param lType M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType,System.Int32)
id int
param id M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType,System.Int32)

Fields

DrawMaxX

Max X draw coordinate.

public int DrawMaxX

Field Value

int

DrawMaxY

Max Y draw coordinate.

public int DrawMaxY

Field Value

int

DrawMinX

Min X draw coordinate.

public int DrawMinX

Field Value

int

DrawMinY

Min Y draw coordinate.

public int DrawMinY

Field Value

int

Properties

BorderLineStyle

Area border line style.

public LineStyle BorderLineStyle { get; set; }

Property Value

LineStyle

Center

Center point of largest area.

public PointDouble Center { get; }

Property Value

PointDouble

Fill

Defines Fill.

public Fill Fill { get; set; }

Property Value

Fill

Points

Points of border lines of all areas.

public PointFloat[][] Points { get; }

Property Value

PointFloat[][]

Methods

Construct()

Create members.

protected override void Construct()

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

True if managed resources should be disposed, otherwise false.

OnDeserialized(StreamingContext)

OnDeserialized is called just after the object has been deserialized

[OnDeserialized]
protected void OnDeserialized(StreamingContext context)

Parameters

context StreamingContext

Context

ReadBorderPoints(BinaryReader, int, int)

Read border points.

protected int ReadBorderPoints(BinaryReader reader, int iBorderCount, int iBytesInFloat)

Parameters

reader BinaryReader

Reader.

iBorderCount int

Border count.

iBytesInFloat int

Bytes in float.

Returns

int
returns M:LightningChartLib.WinForms.Charting.Maps.Region.ReadBorderPoints(System.IO.BinaryReader,System.Int32,System.Int32)

ReadHeader(BinaryReader, out int, out int, out int)

Read header.

protected void ReadHeader(BinaryReader reader, out int iBorderCount, out int iHoleCount, out int iItemCount)

Parameters

reader BinaryReader

Reader

iBorderCount int

Border count.

iHoleCount int

Hole count.

iItemCount int

Item count.

ReadHoleIndexes(BinaryReader, int)

Read hole indexes.

protected void ReadHoleIndexes(BinaryReader reader, int iHoleCount)

Parameters

reader BinaryReader

Reader

iHoleCount int

Hole count

ReadRegions(BinaryReader, int, int)

Read triangle points.

protected void ReadRegions(BinaryReader reader, int iRegionCount, int iBytesInFloat)

Parameters

reader BinaryReader

Reader

iRegionCount int

Region count.

iBytesInFloat int

Bytes in float.