Gets a collection of the control points of this link.
Namespace: MindFusion.Diagramming
Package: DiagramLink.js
JavaScript Copy Code |
---|
function getControlPoints () |
A collection of control Points that specify the link's shape.
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.