Positions this label relatively to the specified corner point.
Namespace: MindFusion.Diagramming
File: NodeLabel.js
JavaScript Copy Code |
---|
function setCornerPosition (cornerPoint, dx, dy) |
Number. The corner point index.
Number. Horizontal offset from the corner point.
Number. Vertical offset from the corner point.
This method sets node's corner as label's pin point and assigns specified offsets to horizontalOffset and verticalOffset properties. The cornerPoint index starts counting from top-left corner in clockwise direction:
JavaScript Pack Programmer's Guide | © 2024 MindFusion |