Xamarin.Forms.Point.Equals Method
Returns true if the X and Y values of this are exactly equal to those in the argument.

Syntax

public override bool Equals (object o)

Parameters

o
Another Xamarin.Forms.Point.

Returns

true if the X and Y values are equal to those in o. Returns false if o is not a Xamarin.Forms.Point.

Remarks

The Point.X and Point.Y values of the Xamarin.Forms.Point are stored as doubles. Developers should be aware of the precision limits and issues that can arise when comparing floating-point values. In some circumstances, developers should consider the possibility of measuring approximate equality using the (considerably slower) Point.Distance method.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0