com.mindfusion.diagramming
Class SnapToAnchor

java.lang.Object
  extended by com.mindfusion.diagramming.SnapToAnchor

public class SnapToAnchor
extends java.lang.Object

The members of this enumeration specify when an arrow should be aligned to a node's anchor point. These constants can be used as parameters of the Diagram.setSnapToAnchor(int) method of the Diagram class.


Field Summary
static int OnCreate
          Align to anchor points only when the arrow is created.
static int OnCreateOrModify
          Align to anchor points both when creating or modifying.
 
Constructor Summary
SnapToAnchor()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OnCreate

public static final int OnCreate
Align to anchor points only when the arrow is created. Let the user move the arrow end to any point of the node later.

See Also:
Constant Field Values

OnCreateOrModify

public static final int OnCreateOrModify
Align to anchor points both when creating or modifying.

See Also:
Constant Field Values
Constructor Detail

SnapToAnchor

public SnapToAnchor()