This documentation is for the old version. Go to the latest Graphics Mill docs

PointF.distance Method

Returns a distance from this point to the specified one.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function distance(pt);

Parameters

pt

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.PointF

The destination point.

Return Value

The number which represents a distance between this point and point.

Remarks

This method corresponds to PointF.Distance(PointF) server-side member.

See Also

Reference