Gets or sets the control points of this link.
Namespace: MindFusion.Diagramming
File: DiagramLink.js
JavaScript Copy Code |
---|
get controlPoints() {} |
Array
An array of Point objects containing coordinates of link segments.
This property lets you change coordinates of link points. The number of points per segment depends on link's shape. Links made of Bézier-splines have four control points for each segment. Links with other shape types have two control points per segment. Adjacent segments share a common control point. After setting new positions of control points, you must call the updateFromPoints method.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |