Line Class

View as Markdown

Definition

Objects derived from the Line class are used to characterize how an oscillator line is visually displayed (plotted) on a chart.

Properties

PropertyDescription
BrushThe System.Windows.Media.Brush used to construct the line (reference)
BrushDXA SharpDX.Direct2D1.Brush used to actually render the line.
Note: To avoid and resolve access violation exceptions, please see Warning and examples remarked below
DashStyleDXA SharpDX.Direct2D1.DashStyle used to render the stroke style.
Note: To avoid and resolve access violation exceptions, please see Warning and examples remarked below
DashStyleHelperA dashstyle used to construct the stroke. Possible values are:
DashStyleHelper.Dash
DashStyleHelper.DashDot
DashStyleHelper.DashDotDot
DashStyleHelper.Dot
DashStyleHelper.Solid
NameA string representing the name of the line
RenderTargetThe RenderTarget drawing context used for the line.
StrokeStyleA SharpDX.Direct2D1.StrokeStyle
ValueA double representing the value of the line
WidthA float representing the width in pixels

Examples

See the AddLine() method for examples.