Rectangle.op_Equality
Rectangle Equality operator
Tests whether two Rectangle structures have equal location and size.
public static bool operator ==(Rectangle left, Rectangle right)
Parameter | Type | Description |
---|---|---|
left | Rectangle | The Rectangle structure that is to the left of the equality operator. |
right | Rectangle | The Rectangle structure that is to the right of the equality operator. |
Return Value
This operator returns true
if the two Rectangle structures have equal X, Y, Width, and Height properties.
See Also
- struct Rectangle
- namespace System.Drawing
- assembly Aspose.Drawing