Returns a point lying on a polyline that is positioned at a relative position along the polyline's length.
Namespace: MindFusion.Diagramming
File: DiagramLink.js
JavaScript Copy Code |
---|
function pointAlongLength (lengthFactor, [segments]) |
Number. A value from 0 to 1 specifying a portion of link's length.
Array. A list of points specifying the polyline segments.
Point. A Point instance.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |