Gets the length of the links
Namespace: MindFusion.Diagramming
Package: 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.
NetDiagram Programmer's Guide | © 2023 MindFusion |