Rectangle
Definition
Represents an interface that exposes information regarding a Rectangle IDrawingTool.
Represents an interface that exposes information regarding a Rectangle IDrawingTool.
| Parameter | Description |
|---|---|
| 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 |
| AreaBrush | A Brush object 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 Rectangle object 2 Rectangle myRec = Draw.Rectangle(this, "tag1", 10, Low[10] - TickSize, 5, High[5] + TickSize, Brushes.Blue); 3 4 // Set the object's AreaBrush to Blue 5 myRec.AreaBrush = Brushes.Blue;