Class PointSmith
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Smith point.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PointSmith : PointRound, IChartNode, IDisposable, IPointSmith, IPointRound
- Inheritance
-
PointSmith
- Implements
- Inherited Members
Constructors
PointSmith()
PointSmith default constructor. Object keeps state information of whether the object is at initial state, and some properties use this information for special purposes.
public PointSmith()
PointSmith(IChartNode)
PointSmith constructor.
public PointSmith(IChartNode Owner = null)
Parameters
OwnerIChartNodeOwner">Owner element to notify of value changes.
PointSmith(IPointSmith)
PointSmith constructor.
public PointSmith(IPointSmith src)
Parameters
srcIPointSmithSource point to take all values from. Parent is null.
PointSmith(PointSmith)
PointSmith copy constructor.
public PointSmith(PointSmith src)
Parameters
srcPointSmithSource point to take all values from, including parent.
PointSmith(double, double, IChartNode)
PointSmith constructor.
public PointSmith(double Real, double Img, IChartNode Owner = null)
Parameters
RealdoubleRealValue part of the value.
ImgdoubleImaginary part of the value.
OwnerIChartNodeOwner">Owner element to notify of value changes.
Properties
ImgValue
Imaginary component of the smith coordinate.
public double ImgValue { get; set; }
Property Value
RealValue
Real component of the smith coordinate.
public double RealValue { 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(double, double)
Set all values.
public override void SetValues(double RealValue, double ImgValue)
Parameters
ToString()
Value to string converter. Uses default double.ToString() formatting for both values.
public override string ToString()
Returns
- string
returns M:LightningChartLib.WinForms.Charting.PointSmith.ToString
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
returns M:LightningChartLib.WinForms.Charting.PointSmith.ToString(System.String)