| Package | com.yworks.canvas.input |
| Class | public class ReshapeHandleProvider |
| Inheritance | ReshapeHandleProvider Object |
| Implements | IReshapeHandleProvider |
| Subclasses | ReshapeableHandles |
IReshapeHandleProvider interface
that has properties to store the values provided by a corresponding ISizeConstraintProvider.
See also
| Property | Defined By | ||
|---|---|---|---|
| handlePositions : uint
Gets or sets the bitwise combination of all handle positions this
instance provides a handle for. | ReshapeHandleProvider | ||
| maximumSize : ISize
Gets or sets the maximum size allowed for the reshapeable. | ReshapeHandleProvider | ||
| minimumEnclosedArea : IRectangle
Gets or sets the minimum rectangular area that needs to be contained in the reshapeable. | ReshapeHandleProvider | ||
| minimumSize : ISize
Gets or sets the minimum size allowed for the reshapeable. | ReshapeHandleProvider | ||
| Property | Defined By | ||
|---|---|---|---|
| _handlePositions : uint | ReshapeHandleProvider | ||
| _maximumSize : ISize | ReshapeHandleProvider | ||
| _minimumEnclosedArea : IRectangle | ReshapeHandleProvider | ||
| _minimumSize : ISize | ReshapeHandleProvider | ||
| Method | Defined By | ||
|---|---|---|---|
getAvailableHandles():uint
Returns the handlePositions property. | ReshapeHandleProvider | ||
Provides an IHandle that uses the rectangle and reshapeable instance bound to this instance
to perform the actual reshaping. | ReshapeHandleProvider | ||
| _handlePositions | property |
protected var _handlePositions:uint| _maximumSize | property |
protected var _maximumSize:ISize| _minimumEnclosedArea | property |
protected var _minimumEnclosedArea:IRectangle| _minimumSize | property |
protected var _minimumSize:ISize| handlePositions | property |
handlePositions:uintGets or sets the bitwise combination of all handle positions this instance provides a handle for.
public function get handlePositions():uint public function set handlePositions(value:uint):void| maximumSize | property |
maximumSize:ISizeGets or sets the maximum size allowed for the reshapeable.
The default value is ImmutableSize.UNBOUND.
public function get maximumSize():ISize public function set maximumSize(value:ISize):void| minimumEnclosedArea | property |
minimumEnclosedArea:IRectangleGets or sets the minimum rectangular area that needs to be contained in the reshapeable.
The default value is ImmutableRectangle.EMPTY.
public function get minimumEnclosedArea():IRectangle public function set minimumEnclosedArea(value:IRectangle):void| minimumSize | property |
minimumSize:ISizeGets or sets the minimum size allowed for the reshapeable.
The default value is ImmutableSize.EMPTY.
public function get minimumSize():ISize public function set minimumSize(value:ISize):void| getAvailableHandles | () | method |
public function getAvailableHandles():uint
Returns the handlePositions property.
uint — A bit wise combination of all handle positions this instance provides a handle for if queried
in ReshapeableHandles.getHandle.
|
See also
| getHandle | () | method |
public function getHandle(position:uint):IHandle
Provides an 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.
This function is meant to be abstract and has to be overridden by subclasses
Parameters
position:uint — The position to provide an instance for.
|
IHandle — A handle implementation.
|
See also