The state of the lasso path of the current lasso selection.
Remarks
The first state will always be STARTING, followed by DRAWING. CLOSING will always be the last state, but the state may change from CLOSING to DRAWING and back.
Type Details
- yFiles module
- view
Constants
The state when the pointer is close to the starting point of the gesture.
Remarks
This state will always be the last state, but the state may transition to DRAWING again, when the pointer moves outside the finishRadius. This state is active, iff the pointer is inside the finishRadius, but has moved outside of the radius at least once.
The state when the user is drawing the lasso path but is outside the finish radius from the starting point.
Remarks
This state is active, iff the pointer is outside the finishRadius.
The state when the lasso gesture has just started and the pointer has only moved minimally up to this point.
Remarks
This will always be the initial state. Once the pointer has moved outside the finishRadius, the state transitions to DRAWING.
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Most notably, this method can convert an enum constant's name into the enum constant itself.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - LassoPathState
- The value to convert to an enum constant.
Returns
- ↪LassoPathState
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - LassoPathState
- The numeric value of an enum constant.
Returns
- ↪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.