[]
        
(Showing Draft Content)

C1.Win.Chart.Annotation.Polygon

Polygon Class

Represents a polygon annotation for AnnotationLayer

Inheritance
Polygon
Implements
IPolygon
IShape
IAnnotationBase
IStyleProvider
Namespace: C1.Win.Chart.Annotation
Assembly: C1.Win.FlexChart.8.dll
Syntax
public class Polygon : Shape, INotifyPropertyChanged, IPolygon, IShape, IAnnotationBase, IStyleProvider

Constructors

Name Description
Polygon()

Create an instance of Polygon.

Polygon(string)

Create an instance of Polygon.

Properties

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.

Methods

Name Description
Distance(double, double)

Calculates distance from point(x,y) to the start point of line annotation.

GetSize()

Gets the element size.