Rectangle.Equals Method

Definition

Overloads

Equals(Rectangle)

Whether a Rectangle has exactly the same values as thisRectangle.

Equals(Object)

Whether an 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

true if other has exactly the same values as thisRectangle.

Applies to

Equals(Object)

Whether an 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
Object

An Object to compare to this.

Returns

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

Applies to