public enum SnapToAnchor extends java.lang.Enum<SnapToAnchor>
Diagram.setSnapToAnchor(com.mindfusion.diagramming.SnapToAnchor)
method of the Diagram
class.Enum Constant and Description |
---|
OnCreate
Align to anchor points only when the link is created.
|
OnCreateOrModify
Align to anchor points both when creating or modifying.
|
Modifier and Type | Method and Description |
---|---|
static SnapToAnchor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SnapToAnchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapToAnchor OnCreate
public static final SnapToAnchor OnCreateOrModify
public static SnapToAnchor[] values()
for (SnapToAnchor c : SnapToAnchor.values()) System.out.println(c);
public static SnapToAnchor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null