Search
DiagramLink.pointAlongLength Method
See Also
 





Returns a point lying on a polyline that is positioned at a relative position along the polyline's length.

Namespace: MindFusion.Diagramming
Package: DiagramLink.js

 Syntax

JavaScript  Copy Code

function pointAlongLength (lengthFactor, [segments])

 Parameters

lengthFactor

Number. A value from 0 to 1 specifying a portion of link's length.

segments
Optional.

Array. A list of points specifying the polyline segments.

 Return Value

Point. A Point instance.

 See Also