Rectangle.Equality(Rectangle, Rectangle) 操作员

定义

两个 Rectangle 是否具有相等的值。

public static bool operator ==(Xamarin.Forms.Rectangle r1, Xamarin.Forms.Rectangle r2);
static member ( = ) : Xamarin.Forms.Rectangle * Xamarin.Forms.Rectangle -> bool

参数

r1
Rectangle

要进行比较的 Rectangle

r2
Rectangle

要进行比较的 Rectangle

返回

System.Boolean

如果两个矩形的 LocationSize 都相等,则为 true

适用于