Square

View as Markdown

Definition

Represents an interface that exposes information regarding a Square IDrawingTool.

Methods and Properties

ParameterDescription
AnchorAn IDrawingTool’s ChartAnchor representing the point of the drawing object
OutlineBrushA Brush used for the outline of the square
AreaBrushA Brush object representing the fill color of the draw object

Examples

1// Instantiate a Square object
2Square mySquare = Draw.Square(this, "tag1", true, 0, Low[0] - TickSize, Brushes.Red);
3
4// Change the object's OutlineBrush
5mySquare.OutlineBrush = Brushes.Blue;