編輯

共用方式為


SKPointI.Distance(SKPointI, SKPointI) Method

Definition

Calculate the Euclidean distance between two points.

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

Parameters

point
SKPointI

The first point.

other
SKPointI

The second point.

Returns

Returns the Euclidean distance between two points.

Applies to