Abstract base class implementation of the IReshapeHandleProvider interface that has properties to restrict the size and area of a reshapeable.
Implements
- I
Members
No filters for this type
Constructors
Properties
Gets or sets the bitwise combination of all handle positions this instance provides a handle for.
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.
Gets or sets the maximal bounds this reshapeable may fill.
The value is stored by reference. The default is INFINITE, which does not restrict the area at all.
conversionfinal
Gets or sets the maximum size allowed for the reshapeable.
Gets or sets the maximum size allowed for the reshapeable.
The default value is INFINITE.
conversion
Property Value
The maximum size.
See Also
API
- maximumSize
Overridden in
NodeReshapeHandleProvider.maximumSizeGets or sets the minimum rectangular area that needs to be contained in the reshapeable.
Gets or sets the minimum rectangular area that needs to be contained in the reshapeable.
The default value is EMPTY.
conversion
Property Value
The minimum size.
See Also
Overridden in
NodeReshapeHandleProvider.minimumEnclosedAreaGets or sets the minimum size allowed for the reshapeable.
Gets or sets the minimum size allowed for the reshapeable.
The default value is ZERO.
conversion
Property Value
The minimum size.
See Also
API
- minimumSize
Overridden in
NodeReshapeHandleProvider.minimumSizeMethods
Returns the handlePositions property.
Returns the handlePositions property.
Parameters
- context: IInputModeContext
- The context for which the handles are queried.
Return Value
- HandlePositions
- A bitwise combination of all handle positions this instance provides a handle for if queried in getHandle.
Provides a IHandle that uses the rectangle and reshapeable instance bound to this instance to perform the actual reshaping.
Provides a 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 getAvailableHandles.
abstract
Parameters
- context: IInputModeContext
- The context for which the handles are queried.
- position: HandlePositions
- The position to provide an instance for.
Return Value
- IHandle
- A handle implementation.