Search
DiagramLink.controlPoints Property
See Also
 





Gets or sets the control points of this link.

Namespace: MindFusion.Diagramming
Package: DiagramLink.js

 Syntax

JavaScript  Copy Code

get controlPoints() {}
set controlPoints(value) {}

 Property Value

Array

An array of Point objects containing coordinates of link segments.

 Remarks

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.

 See Also