Class LineStyle3D
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Line drawing parameters
[TypeConverter(typeof(ExpandableObjectConverter))]
public class LineStyle3D : ChartNode, IChartNode, IDisposable
- Inheritance
-
LineStyle3D
- Implements
- Inherited Members
Constructors
LineStyle3D()
Constructor for Form designer list editor
public LineStyle3D()
LineStyle3D(IChartNode)
Constructor.
public LineStyle3D(IChartNode owner)
Parameters
ownerIChartNodeParent.
Properties
AntiAliasing
Gets and sets anti-aliased line. This is a dependency property. Drawing anti-aliased draws the line with smooth edges, but will increase CPU/GPU overhead.
Note that line width is defined in 3D world coordinates, not in pixels as with 2D line. With DX11, thicker (triangle) lines cannot be rendered without anti-aliasing unless AntiAliasLevel is set to a value lower than 1.
public LineAntialias AntiAliasing { get; set; }
Property Value
Color
Gets and sets line color.
public Color Color { get; set; }
Property Value
LineOptimization
Gets and sets line rendering optimization.
public LineOptimization LineOptimization { 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 line width.
public double Width { 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.
ToString()
Convert class description to string.
public override string ToString()
Returns
- string
String.
Operators
implicit operator LineStyle(LineStyle3D)
3D LineStyle as ordinary LineStyle. Remember to dispose after use!
public static implicit operator LineStyle(LineStyle3D s)
Parameters
sLineStyle3Dparam s M:LightningChartLib.WinForms.Charting.LineStyle3D.op_Implicit(LightningChartLib.WinForms.Charting.LineStyle3D)~LightningChartLib.WinForms.Charting.LineStyle
Returns
- LineStyle
returns M:LightningChartLib.WinForms.Charting.LineStyle3D.op_Implicit(LightningChartLib.WinForms.Charting.LineStyle3D)~LightningChartLib.WinForms.Charting.LineStyle