A specialized version of the IHandleProvider interface that can be used to query IHandle implementations for resizing an object.
Inheritance Hierarchy
See Also
Developer's Guide
Demos
- Shows how resizing of nodes can be customized.
- Shows how to add resize handles to ports.
Members
No filters for this type
Methods
Returns a bitwise combination of all of the HandlePositions this interface can provide an implementation for.
Returns a bitwise combination of all of the HandlePositions this interface can provide an implementation for.
Client code will use this method to query the available positions and may then call for each of the positions the getHandle method to retrieve an implementation.
abstract
Parameters
- context: IInputModeContext
- The context for which the handles are queried.
Return Value
- HandlePositions
- A bitwise combination of all positions the getHandle method can be queried for.
See Also
Developer's Guide
Implemented in
ReshapeHandleProviderBase.getAvailableHandlesReturns an implementation of an IHandle for the given position, that can be used to reshape an object.
Returns an implementation of an IHandle for the given position, that can be used to reshape an object.
This method may be called for each possible single position contained in the set as returned by getAvailableHandles.
abstract
Parameters
- context: IInputModeContext
- The context for which the handles are queried.
- position: HandlePositions
- The single position a handle implementation should be returned for.
See Also
Developer's Guide
Implemented in
ReshapeHandleProviderBase.getHandleStatic Methods
Creates an implementation of the interface IReshapeHandleProvider from the given definition.
Creates an implementation of the interface IReshapeHandleProvider from the given definition.
The given object must contain exactly the abstract members of the IReshapeHandleProvider interface. No member may be omitted and no additional members can be added. While additional custom members can later be added directly on the instance, this is discouraged.
static
Parameters
Return Value
- IReshapeHandleProvider
- An instance of the IReshapeHandleProvider interface based on the given definition.