VerticalLine

<< Click to Display Table of Contents >>

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

VerticalLine

Previous page Return to chapter overview Next page

Definition

Represents an interface that exposes information regarding a Vertical 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

 

 

Examples

ns

// Instantiate a VerticalLine object
VerticalLine myLine = Draw.VerticalLine(this, "tag1", 10, Brushes.Black);
 
// Change the object's Stroke
myLine.Stroke = new Stroke(Brushes.BlanchedAlmond, DashStyleHelper.Dot, 5);