[]
Represents a rectangle annotation for AnnotationLayer
public class Rectangle : Shape, INotifyPropertyChanged, IRectangle, IShape, IAnnotationBase, IStyleProvider
| Name | Description |
|---|---|
| Rectangle() | Create an instance of Rectangle. |
| Rectangle(string) | Create an instance of Rectangle. |
| Rectangle(string, int, int) | Create an instance of Rectangle. |
| 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. |
| Name | Description |
|---|---|
| Distance(double, double) | Calculates distance from point(x,y) to the start point of line annotation. |
| GetSize() | Gets the element size |