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