Class PointUnitCircle
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
UnitCircle coordinate point. X and Y coordinates have normed values in range [-1,1]. Point (0,0) points is at the center of the circle.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PointUnitCircle : PointRound, IChartNode, IDisposable, IPointUnitCircle, IPointRound
- Inheritance
-
PointUnitCircle
- Implements
- Inherited Members
Constructors
PointUnitCircle()
public PointUnitCircle()
PointUnitCircle(IChartNode)
Constructor for Form designer list editor
public PointUnitCircle(IChartNode owner = null)
Parameters
ownerIChartNodeparam owner M:LightningChartLib.WinForms.Charting.PointUnitCircle.#ctor(LightningChartLib.WinForms.Charting.IChartNode)
PointUnitCircle(double, double, IChartNode)
Constructor
public PointUnitCircle(double X, double Y, IChartNode owner = null)
Parameters
XdoubleX coordinate
YdoubleY coordinate
ownerIChartNodeOwner object. Defaults to null.
Properties
X
X direction coordinate
public double X { get; set; }
Property Value
Y
Y direction coordinate
public double Y { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
SetValues(PointUnitCircle)
Set all values, except owner.
public void SetValues(PointUnitCircle src)
Parameters
srcPointUnitCircleSource point to take values from.
SetValues(double, double)
Set all values.
public override void SetValues(double X, double Y)
Parameters
Remarks
Does not refresh chart
ToString()
Value to string converter. Uses default double.ToString() formatting for both values.
public override string ToString()
Returns
- string
Formatted string
ToString(string)
Value to string converter. Uses given formatting for both values.
public string ToString(string format)
Parameters
formatstringDouble.ToString() formatting string to use with both values.
Returns
- string
Formatted string