Search
NodeLabel.setCenterPosition Method
See Also
 






Positions this label relatively to the node center.

Namespace: MindFusion.Diagramming
File: NodeLabel.js

 Syntax

JavaScript  Copy Code

function setCenterPosition (dx, dy)

 Parameters

dx

Number. Horizontal offset from the center point.

dy

Number. Vertical offset from the center point.

 Remarks

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

 See Also