Package | Description |
---|---|
com.yworks.yfiles.geometry |
Contains definitions, default implementations, structs and support classes that deal with the representation of geometric data.
|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Method and Description |
---|---|
default IPoint |
IRectangle.getDynamicPoint(HandlePositions handlePositions)
Create a dynamic
IPoint implementation that always points to the specified position at the given rectangle. |
Modifier and Type | Method and Description |
---|---|
IHandle |
NodeReshapeHandles.getHandle(IInputModeContext inputModeContext,
HandlePositions position) |
Constructor and Description |
---|
NodeReshapeHandles(IReshapeHandler handler,
HandlePositions handlePositions,
INode item) |
Modifier and Type | Field and Description |
---|---|
static HandlePositions |
HandlePositions.ALL
A combined bitset of all possible handle positions.
|
static HandlePositions |
HandlePositions.BORDER
A combined bitset of all possible handle positions at the border of a rectangle.
|
static HandlePositions |
HandlePositions.CENTER
Indicates the position at the center.
|
static HandlePositions |
HandlePositions.CORNERS
A combined bitset of all possible handle positions at the four corners of a rectangle.
|
static HandlePositions |
HandlePositions.EAST
Indicates the position at east.
|
static HandlePositions |
HandlePositions.HORIZONTAL
A combined bitset of the two horizontal handles of a rectangle.
|
static HandlePositions |
HandlePositions.NONE
Indicates no position at all.
|
static HandlePositions |
HandlePositions.NORTH
Indicates the position at north.
|
static HandlePositions |
HandlePositions.NORTH_EAST
Indicates the position at north east.
|
static HandlePositions |
HandlePositions.NORTH_WEST
Indicates the position at north west.
|
static HandlePositions |
HandlePositions.SOUTH
Indicates the position at south.
|
static HandlePositions |
HandlePositions.SOUTH_EAST
Indicates the position at south east.
|
static HandlePositions |
HandlePositions.SOUTH_WEST
Indicates the position at south west.
|
static HandlePositions |
HandlePositions.VERTICAL
A combined bitset of the two vertical handles of a rectangle.
|
static HandlePositions |
HandlePositions.WEST
Indicates the position at west.
|
Modifier and Type | Method and Description |
---|---|
static HandlePositions |
HandlePositions.fromName(String name) |
static HandlePositions |
HandlePositions.fromOrdinal(int value) |
protected HandlePositions |
HandlePositions.fromOrdinalImpl(int ordinal) |
HandlePositions |
IReshapeHandleProvider.getAvailableHandles(IInputModeContext context)
Returns a bitwise combination of all of the
HandlePositions this interface can provide an implementation for. |
HandlePositions |
AbstractReshapeHandleProvider.getAvailableHandles(IInputModeContext context)
Returns the
HandlePositions property. |
HandlePositions |
AbstractReshapeHandleProvider.getHandlePositions()
Gets the bitwise combination of all handle positions this instance provides a handle for.
|
protected HandlePositions[] |
HandlePositions.getItems() |
protected HandlePositions |
RectangleHandle.getPosition()
The position of the handle.
|
HandlePositions |
ReshapeRectangleContext.getReshapePosition()
Gets the position of the reshape handle.
|
Modifier and Type | Method and Description |
---|---|
IHandle |
RectangleReshapeHandleProvider.getHandle(IInputModeContext context,
HandlePositions position)
Provides a
IHandle that uses the rectangle instance to perform the actual reshaping. |
IHandle |
IReshapeHandleProvider.getHandle(IInputModeContext context,
HandlePositions position)
Returns an implementation of an
IHandle for the given position, that can be used to reshape an object. |
abstract IHandle |
AbstractReshapeHandleProvider.getHandle(IInputModeContext context,
HandlePositions position)
Provides a
IHandle that uses the rectangle and reshapeable instance bound to this instance to perform the actual
reshaping. |
void |
AbstractReshapeHandleProvider.setHandlePositions(HandlePositions value)
Sets the bitwise combination of all handle positions this instance provides a handle for.
|
Constructor and Description |
---|
RectangleHandle(HandlePositions position,
IMutableRectangle rectangle)
Subclass constructor that creates a handle for the given position using the location instance as the
Location
for the handle. |
RectangleReshapeHandleProvider(IMutableRectangle rectangle,
HandlePositions handlePositions)
Creates a default instance that provide handles for each of the positions given for the rectangle.
|
ReshapeHandlerHandle(HandlePositions position,
IReshapeHandler reshapeHandler)
Subclass constructor that creates a handle for the given position using the location instance as the
Location
for the handle. |
ReshapeHandlerHandle(HandlePositions position,
IReshapeHandler reshapeHandler,
ISize minimumSize)
Subclass constructor that creates a handle for the given position using the location instance as the
Location
for the handle. |
ReshapeHandlerHandle(HandlePositions position,
IReshapeHandler reshapeHandler,
ISize minimumSize,
ISize maximumSize)
Subclass constructor that creates a handle for the given position using the location instance as the
Location
for the handle. |
ReshapeRectangleContext(RectD initialBounds,
ISize minimumSize,
ISize maximumSize,
IRectangle minimumEnclosedArea,
HandlePositions reshapePosition,
PointD topLeftChangeFactor,
PointD bottomRightChangeFactor,
SizeD sizeChangeFactor)
Initializes a new instance of the
ReshapeRectangleContext class. |