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