LinkLabel.setLinkLengthPosition Method
See Also

Positions this label relatively to the link length.

Namespace: MindFusion.Diagramming
Package: 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.

 See Also