You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

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