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





Gets a collection of the control points of this link.

Namespace: MindFusion.Diagramming
Package: DiagramLink.js

 Syntax

JavaScript  Copy Code

function getControlPoints ()

 Return Value

A collection of control Points that specify the link's shape.

 Remarks

Use this method to find the positions of link's points, or to set new point coordinates. The number of points per link segment depends on the Shape property. 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
Shape Property
SegmentCount Property