ASP.NET Pack Programmer's Guide
DiagramLink.setControlPoints Method
See Also
 





Sets a collection of the control points of this link.

Namespace: MindFusion.Diagramming
Package: DiagramLink.js

 Syntax

JavaScript  Copy Code

function setControlPoints (value)

 Parameters

value
A collection of control Point-s that specify the link's shape.

 Remarks

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.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace
setShape Method