[]
        
(Showing Draft Content)

C1.Blazor.Chart.Annotation.Rectangle

Rectangle Class

Represents a rectangle annotation for AnnotationLayer

Inheritance
Rectangle
Implements
IRectangle
IShape
IAnnotationBase
IStyleProvider
Namespace: C1.Blazor.Chart.Annotation
Assembly: C1.Blazor.Chart.dll
Syntax
public class Rectangle : Shape, INotifyPropertyChanged, IRectangle, IShape, IAnnotationBase, IStyleProvider
Public Class Rectangle
    Inherits Shape
    Implements 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
Height

Gets or sets the height of rectangle annotation.

Width

Gets or sets the width of rectangle annotation.

Methods

Name Description
Distance(double, double)
GetSize()

Gets the element size