Ellipse

View as Markdown

Definition

Represents an interface that exposes information regarding an Ellipse IDrawingTool.

Methods and Properties

ParameterDescription
StartAnchorAn IDrawingTool’s ChartAnchor representing the starting 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

Examples

1// Paint a red ellipse on the current bar
2Ellipse myEllipse = Draw.Ellipse(this, "tag1", true, 5, Close[5], 0, Close[0], Brushes.Red, Brushes.Red, 5);
3
4// Change the AreaOpacity of the Ellipse
5myEllipse.AreaOpacity = 0;