Share via


Rectangle.Equals Method

Definition

Overloads

Equals(Rectangle)

Whether a Rectangle has exactly the same values as thisRectangle.

Equals(Object)

Whether an System.Object is a Rectangle and has exactly the same values as thisRectangle.

Equals(Rectangle)

Whether a Rectangle has exactly the same values as thisRectangle.

public bool Equals (Xamarin.Forms.Rectangle other);
override this.Equals : Xamarin.Forms.Rectangle -> bool

Parameters

other
Rectangle

The Rectangle being compared to thisRectangle.

Returns

System.Boolean

true if other has exactly the same values as thisRectangle.

Applies to

Equals(Object)

Whether an System.Object is a Rectangle and has exactly the same values as thisRectangle.

public override bool Equals (object obj);
override this.Equals : obj -> bool

Parameters

obj
System.Object

An Object to compare to this.

Returns

System.Boolean

true if obj is a Rectangle that has exactly the same values as thisRectangle.

Applies to