PointDistance Method
Computes the Euclidean distance between the two given points.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static double Distance(
Point value1,
Point value2
)
Public Shared Function Distance (
value1 As Point,
value2 As Point
) As Double
static member Distance :
value1 : Point *
value2 : Point -> float
- value1 Point
- The first point.
- value2 Point
- The second point.
DoubleThe Euclidean distance.