Triangle
Definition
Represents an interface that exposes information regarding a Triangle IDrawingTool.
Represents an interface that exposes information regarding a Triangle IDrawingTool.
| Parameter | Description |
|---|---|
| StartAnchor | An IDrawingTool’s ChartAnchor representing the starting point of the drawing object |
| MiddleAnchor | An IDrawingTool’s ChartAnchor representing the middle point of the drawing object |
| EndAnchor | An IDrawingTool’s ChartAnchor representing the end point of the drawing object |
| AreaBrush | A Brush class representing the fill color of the draw object |
| AreaOpacity | An int value representing the opacity of the area color |
| OutlineStroke | The Stroke object used to draw the object’s outline |
1 // Instantiate a Triangle object 2 Triangle myTri = Draw.Triangle(this, "tag1", 4, Low[4], 3, High[3], 1, Low[1], Brushes.Blue); 3 4 // Change the object's AreaOpacity 5 myTri.AreaOpacity = 100;