Triangle

View as Markdown

Definition

Represents an interface that exposes information regarding a Triangle IDrawingTool.

Methods and Properties

ParameterDescription
StartAnchorAn IDrawingTool’s ChartAnchor representing the starting point of the drawing object
MiddleAnchorAn IDrawingTool’s ChartAnchor representing the middle point of the drawing object
EndAnchorAn IDrawingTool’s ChartAnchor representing the end point of the drawing object
AreaBrushA Brush class representing the fill color of the draw object
AreaOpacityAn int value representing the opacity of the area color
OutlineStrokeThe Stroke object used to draw the object’s outline

Example

1// Instantiate a Triangle object
2Triangle myTri = Draw.Triangle(this, "tag1", 4, Low[4], 3, High[3], 1, Low[1], Brushes.Blue);
3
4// Change the object's AreaOpacity
5myTri.AreaOpacity = 100;