Positions this label relatively to the node center.
Namespace: MindFusion.Diagramming
File: NodeLabel.js
SyntaxJavaScript
Copy Code
|
|---|
function setCenterPosition (dx, dy) |
Number. Horizontal offset from the center point.
Number. Vertical offset from the center point.
RemarksThis method sets the node's center as label's pin point and assigns specified offsets to horizontalOffset and verticalOffset properties.
See Also