ExtendedLine

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Drawing > Draw.ExtendedLine() >

ExtendedLine

Previous page Return to chapter overview Next page

Definition

Represents an interface that exposes information regarding an Extended Line IDrawingTool.

 

Methods and Properties

StartAnchor

An IDrawingTool's ChartAnchor representing the starting point of the drawing object

EndAnchor

An IDrawingTool's ChartAnchor representing the end point of the drawing object

Stroke

A Stroke object used to draw the object

 

 

Example

ns

// Instantiate a dotted lime green Extended Line
ExtendedLine myLine = Draw.ExtendedLine(this, "tag1", 10, Close[10], 0, Close[0], Brushes.LimeGreen, DashStyleHelper.Dot, 2);
 
// Make the line a Global Drawing Object
myLine.IsGlobalDrawingTool = true;