public final class NodeReshapeHandles extends AbstractReshapeHandleProvider
Constructor and Description |
---|
NodeReshapeHandles(IReshapeHandler handler,
HandlePositions handlePositions,
INode item) |
Modifier and Type | Method and Description |
---|---|
IHandle |
getHandle(IInputModeContext inputModeContext,
HandlePositions position)
Provides a
IHandle that uses the rectangle and reshapeable instance bound to this instance to perform the actual
reshaping. |
getAvailableHandles, getHandlePositions, getMaximumSize, getMinimumEnclosedArea, getMinimumSize, setHandlePositions, setMaximumSize, setMinimumEnclosedArea, setMinimumSize
public NodeReshapeHandles(IReshapeHandler handler, HandlePositions handlePositions, INode item)
public IHandle getHandle(IInputModeContext inputModeContext, HandlePositions position)
AbstractReshapeHandleProvider
IHandle
that uses the rectangle and reshapeable instance bound to this instance to perform the actual
reshaping.
This method may be called for each possible single position contained in the set as returned by
AbstractReshapeHandleProvider.getAvailableHandles(IInputModeContext)
.
getHandle
in interface IReshapeHandleProvider
getHandle
in class AbstractReshapeHandleProvider
inputModeContext
- The context for which the handles are queried.position
- The position to provide an instance for.