Rectangle.op_Equality
Rectangle Equality operator
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 static bool operator ==(Rectangle left, Rectangle right)
Parameter | Type | Description |
---|---|---|
left | Rectangle | A Rectangle to compare. |
right | Rectangle | A Rectangle to compare. |
Return Value
true if the Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height values of left and right are equal; otherwise, false.
See Also
- struct Rectangle
- namespace GroupDocs.Annotation.Models
- assembly GroupDocs.Annotation