編輯

共用方式為


SKPoint.Distance(SKPoint, SKPoint) Method

Definition

Calculate the Euclidean distance between two points.

public static float Distance (SkiaSharp.SKPoint point, SkiaSharp.SKPoint other);

Parameters

point
SKPoint

The first point.

other
SKPoint

The second point.

Returns

Returns the Euclidean distance between two points.

Applies to