Sets a collection of the control points of this link.
Namespace: MindFusion.Diagramming
Package: DiagramLink.js
JavaScript Copy Code |
---|
function setControlPoints (value) |
You can replace all link points via this method. The number of points per segment depends on the link shape. Links made of Bézier-splines have four control points for each segment. Links of the other styles 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.