Abstract base class implementation of the IReshapeHandleProvider interface that has properties to restrict the size and area of a reshapeable.
Inheritance Hierarchy
ReshapeHandleProviderBase
Implemented Interfaces
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.ReshapeHandleProviderBase
Properties
Gets or sets the bitwise combination of all handle positions this instance provides a handle for.
Gets or sets the maximal bounds this reshapeable may fill.
Remarks
The value is stored by reference. The default is INFINITE, which does not restrict the area at all.
Gets or sets the maximum size allowed for the reshapeable.
Gets or sets the minimum rectangular area that needs to be contained in the reshapeable.
Gets or sets the minimum size allowed for the reshapeable.
Methods
Returns the handlePositions property.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IInputModeContext
- The context for which the handles are queried.
Returns
- ↪HandlePositions
- A bitwise combination of all handle positions this instance provides a handle for if queried in getHandle.
See Also
Implements
Provides a IHandle that uses the rectangle and reshapeable instance bound to this instance to perform the actual reshaping.
Remarks
This method may be called for each possible single position contained in the set as returned by getAvailableHandles.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IInputModeContext
- The context for which the handles are queried.
- position - HandlePositions
- The position to provide an instance for.
Returns
- ↪IHandle
- A handle implementation.