public interface IReshapeHandleProvider
IHandleProvider
interface that can be used to query IHandle
implementation
for resizing an object.Modifier and Type | Method and Description |
---|---|
HandlePositions |
getAvailableHandles(IInputModeContext context)
Returns a bitwise combination of all of the
HandlePositions this interface can provide an implementation for. |
IHandle |
getHandle(IInputModeContext context,
HandlePositions position)
Returns an implementation of an
IHandle for the given position, that can be used to reshape an object. |
HandlePositions getAvailableHandles(IInputModeContext context)
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(IInputModeContext, HandlePositions)
method to retrieve an implementation.
context
- The context for which the handles are queried.getHandle(IInputModeContext, HandlePositions)
method can be queried
for.IHandle getHandle(IInputModeContext context, HandlePositions position)
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(IInputModeContext)
.
context
- The context for which the handles are queried.position
- The single position a handle implementation should be returned for.IHandle
for the given position.