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
ownerMapLayerparam owner M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType) lTypeMapLayer.LayerTypeparam 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
ownerMapLayerparam owner M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType,System.Int32) lTypeMapLayer.LayerTypeparam lType M:LightningChartLib.WinForms.Charting.Maps.Region.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,LightningChartLib.WinForms.Charting.Maps.MapLayer.LayerType,System.Int32) idintparam 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
DrawMaxY
Max Y draw coordinate.
public int DrawMaxY
Field Value
DrawMinX
Min X draw coordinate.
public int DrawMinX
Field Value
DrawMinY
Min Y draw coordinate.
public int DrawMinY
Field Value
Properties
BorderLineStyle
Area border line style.
public LineStyle BorderLineStyle { get; set; }
Property Value
Center
Center point of largest area.
public PointDouble Center { get; }
Property Value
Fill
Defines Fill.
public Fill Fill { get; set; }
Property Value
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
disposingboolTrue 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
contextStreamingContextContext
ReadBorderPoints(BinaryReader, int, int)
Read border points.
protected int ReadBorderPoints(BinaryReader reader, int iBorderCount, int iBytesInFloat)
Parameters
readerBinaryReaderReader.
iBorderCountintBorder count.
iBytesInFloatintBytes 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
readerBinaryReaderReader
iBorderCountintBorder count.
iHoleCountintHole count.
iItemCountintItem count.
ReadHoleIndexes(BinaryReader, int)
Read hole indexes.
protected void ReadHoleIndexes(BinaryReader reader, int iHoleCount)
Parameters
readerBinaryReaderReader
iHoleCountintHole count
ReadRegions(BinaryReader, int, int)
Read triangle points.
protected void ReadRegions(BinaryReader reader, int iRegionCount, int iBytesInFloat)
Parameters
readerBinaryReaderReader
iRegionCountintRegion count.
iBytesInFloatintBytes in float.