Polygon

View as Markdown

Definition

Represents an interface that exposes information regarding a Polygon 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
StrokeA Stroke object used to draw the object

Examples

1// Instantiate a Polygon object
2Polygon myPolygon = Draw.Polygon(this, "tag1", false, 20, 194, 10, 184, 13, 176, 25, 182);
3
4// Set a new area brush for the object
5myPolygon.AreaBrush = Brushes.Green;