Class LineStyle
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Line drawing parameters
[TypeConverter(typeof(ExpandableObjectConverter))]
public class LineStyle : ChartNode, IChartNode, IDisposable, IComparable
- Inheritance
-
LineStyle
- Implements
- Inherited Members
Constructors
LineStyle()
Constructor for Form designer list editor
public LineStyle()
LineStyle(IChartNode)
Constructor.
public LineStyle(IChartNode owner)
Parameters
ownerIChartNodeParent.
Properties
AntiAliasing
Gets and sets anti-aliased line. Drawing anti-aliased draws the line with smooth edges, but will increase CPU/GPU overhead. In order to have an effect, AntiAliasLevel must be set to a value higher than 1.
public LineAntialias AntiAliasing { get; set; }
Property Value
Color
Gets and sets line color.
public Color Color { get; set; }
Property Value
Pattern
Gets and sets pattern of line.
public LinePattern Pattern { get; set; }
Property Value
PatternScale
Gets and sets pattern scale.
public int PatternScale { get; set; }
Property Value
Width
Gets and sets width of line.
public double Width { get; set; }
Property Value
Methods
CompareTo(LineStyle)
Comparison method to check if given instance refers to this.
public int CompareTo(LineStyle other)
Parameters
otherLineStyleparam other M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(LightningChartLib.WinForms.Charting.LineStyle)
Returns
- int
returns M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(LightningChartLib.WinForms.Charting.LineStyle)
CompareTo(object)
Comparison method to check if given instance refers to this.
public int CompareTo(object obj)
Parameters
objobjectparam obj M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(System.Object)
Returns
- int
returns M:LightningChartLib.WinForms.Charting.LineStyle.CompareTo(System.Object)
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
ToString()
Convert class description to string
public override string ToString()
Returns
- string
String