共用方式為


Point.Distance(Point) Method

Definition

Calculates the distance between two points.

public double Distance (Xamarin.Forms.Point other);
member this.Distance : Xamarin.Forms.Point -> double

Parameters

other
Point

The Point to which the distance is calculated.

Returns

System.Double

The distance between this and the other.

Applies to