Search
LinkLabel.setControlPointPosition Method
See Also
 





Positions this label relatively to the specified control point.

Namespace: MindFusion.Diagramming
Package: LinkLabel.js

 Syntax

JavaScript  Copy Code

function setControlPointPosition (controlPoint, dx, dy)

 Parameters

controlPoint

Number. The control point index.

dx

Number. Horizontal offset from the control point.

dy

Number. Vertical offset from the control point.

 Remarks

This method sets the specified control point as label's pin point and assigns specified offsets to horizontalOffset and verticalOffset properties.

 See Also