Arc

<< Click to Display Table of Contents >>

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

Arc

Previous page Return to chapter overview Next page

Definition

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


// Draw an Arc object
Arc myArc = Draw.Arc(this, "myArc", Time[10], Close[10], Time[0], Close[0], Brushes.Blue);
 
// Set the opacity of the shading between the arc and the chord
myArc.AreaOpacity = 100;