DroidDiagram Programmer's Guide
Diagram.setSnapToAnchor Method
See Also
 






Sets a value indicating when links should snap to anchor points.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setSnapToAnchor (
    SnapToAnchor value
)

 Parameters

value

A member of the SnapToAnchor enumeration.

 Remarks

The default value OnCreate, specifies that links are snapped to anchor points when they are created, but allows the user to move the link ends to different locations of a node. The OnCreateOrModify value makes link ends points connect to node anchors both if links are created or modified.

 See Also

Diagram Members
Diagram Class
com.mindfusion.diagramming Namespace