[]
Represents a polygon annotation for AnnotationLayer
public class Polygon : Shape, INotifyPropertyChanged, IPolygon, IShape, IAnnotationBase, IStyleProvider
| Name | Description |
|---|---|
| Polygon() | Create an instance of Polygon. |
| Polygon(string) | Create an instance of Polygon. |
| Name | Description |
|---|---|
| Bounds | Gets the bounding box. |
| ContentCenter | Gets or sets the center of annotation's content. If the property value is null (default value), the position of content is selected automatically. |
| Points | Gets the collection of points of the polygon annotation. |
| Name | Description |
|---|---|
| Distance(double, double) | Calculates distance from point(x,y) to the start point of line annotation. |
| GetSize() | Gets the element size. |