Skip to main content

Distance Method

Computes the Euclidean distance between the two given points.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static double Distance(
Point value1,
Point value2
)

Parameters

  Point
The first point.
  Point
The second point.

Return Value

Double
The Euclidean distance.

See Also

Reference

Point Structure
Avalonia Namespace