Rectangle Structure
Represents rectangle.

Namespace: GroupDocs.Annotation.Models
Assembly: GroupDocs.Annotation (in GroupDocs.Annotation.dll) Version: 21.2.0.0 (21.2)
Syntax
[SerializableAttribute]
public struct Rectangle

The Rectangle type exposes the following members.

Constructors
  NameDescription
Public methodRectangle
Initializes a new instance of the Rectangle struct.
Properties
  NameDescription
Public propertyHeight
Gets or sets the height.
Public propertyWidth
Gets or sets the width.
Public propertyX
Gets or sets the x.
Public propertyY
Gets or sets the y.
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are equal.
Public operatorStatic memberInequality
Compares two Rectangle objects. The result specifies whether the values of the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height properties of the two Rectangle objects are not equal.
See Also