Describes the type of movement of a point during an edit in the context of GraphSnapContext.
See Also
Members
No filters for this type
Constants
A typical example is a port whose position is adjusted during a resize of its owning node.
Elements which do not move linearly with the mouse cannot snap to a defined position.
static
A typical example is a port whose position is adjusted during a resize of its owning node.
Elements which do not move linearly with the mouse cannot snap to a defined position.
static
A typical example is a port whose position is adjusted during a resize of its owning node.
Elements which do not move linearly with the mouse cannot snap to a defined position.
static
The bitwise combination of LINEAR_MOVE_X and ARBITRARY_MOVE_X
The bitwise combination of LINEAR_MOVE_X and ARBITRARY_MOVE_X
The bitwise combination of LINEAR_MOVE_Y and ARBITRARY_MOVE_Y
The bitwise combination of LINEAR_MOVE_Y and ARBITRARY_MOVE_Y
Static Methods
Converts the given argument to an enum constant of this enum type.
Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static
Parameters
- value: MoveTypesconversion
- The value to convert to an enum constant.
Return Value
- MoveTypes
- The enum constant that corresponds to the given argument.
static
Parameters
- value: MoveTypes
- The numeric value of an enum constant.
Return Value
- string
- The name of the enum constant.
Throws
- Exception ({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.