Rectangle.Equality(Rectangle, Rectangle) Operator

Definition

Whether two Rectangles have equal values.

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

Parameters

r1
Rectangle

A Rectangle being compared.

r2
Rectangle

A Rectangle being compared.

Returns

System.Boolean

true if both the Location and Size of the two rectangles are equivalent.

Applies to