Positions this label relatively to the link length.
Namespace: MindFusion.Diagramming
File: LinkLabel.js
JavaScript Copy Code |
---|
function setLinkLengthPosition (lengthFactor) |
Number. A value between 0 and 1 specifying the position of the label relatively to the link's length.
This method sets the point at specified distance along link's geometry as pin point and assigns specified offsets to horizontalOffset and verticalOffset properties.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |