[]
        
(Showing Draft Content)

C1.Win.Chart.Annotation.Rectangle

Rectangle Class

Represents a rectangle annotation for AnnotationLayer

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

Constructors

Name Description
Rectangle()

Create an instance of Rectangle.

Rectangle(string)

Create an instance of Rectangle.

Rectangle(string, int, int)

Create an instance of Rectangle.

Properties

Name Description
Bounds

Gets the bounding box.

Height

Gets or sets the height of rectangle annotation.

Width

Gets or sets the width of rectangle 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