SKPoint.DistanceSquared(SKPoint, SKPoint) Method

Definition

Calculate the Euclidean distance squared between two points.

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

Parameters

point
SKPoint

The first point.

other
SKPoint

The second point.

Returns

Returns the Euclidean distance squared between two points.

Applies to