Rectangle.op_Equality
Rectangle Equality operator
测试两个Rectangle结构的位置和大小是否相等。
public static bool operator ==(Rectangle left, Rectangle right)
| 参数 | 类型 | 描述 |
|---|---|---|
| left | Rectangle | 等号运算符左侧的Rectangle结构。 |
| right | Rectangle | 等号运算符右侧的Rectangle结构。 |
返回值
如果两个Rectangle结构的 X、Y、Width 和 Height 属性相等,则此运算符返回 true。
另请参见
- struct Rectangle
- namespace Aspose.Imaging
- assembly Aspose.Imaging