Table of Contents

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

owner IChartNode

Parent.

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

LineAntialias

Color

Gets and sets line color.

public Color Color { get; set; }

Property Value

Color

LineOptimization

Gets and sets line rendering optimization.

public LineOptimization LineOptimization { get; set; }

Property Value

LineOptimization

Pattern

Gets and sets pattern of line.

public LinePattern Pattern { get; set; }

Property Value

LinePattern

PatternScale

Gets and sets pattern scale.

public int PatternScale { get; set; }

Property Value

int

Width

Gets and sets line width.

public double Width { get; set; }

Property Value

double

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

True 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

s LineStyle3D
param 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