You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

PointF.distance Method

Applies to: Graphics Mill Web Controls · Archived documentation

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