Gets the length of the links
Namespace: MindFusion.Diagramming
File: DiagramLink.js
JavaScript Copy Code |
---|
function getLength ([segments]) |
Array. A list of points specifying the polyline segments.
Number. The sum of the lengths of the line's segments.
If the link's Shape is set to Bezier, an approximate length is calculated.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |