Package | Description |
---|---|
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 |
---|---|
protected void |
NodeReshapeSnapResultProvider.collectGridSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Collects the snap results for the grid.
|
protected void |
NodeReshapeSnapResultProvider.collectSameSizeSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Collects the snap results that make the node the same size as other elements.
|
protected void |
NodeReshapeSnapResultProvider.collectSnapLineResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Collects the snap results that makes the node's bounds snap to the
fixed node snap lines . |
void |
NodeReshapeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext)
Called when a node is
dragged
to add SnapResult s for
OrthogonalSnapLine s or sizes to which this node can potentially snap during resizing. |
void |
INodeReshapeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
ReshapeRectangleContext reshapeContext)
Called when a node's handle is
dragged
to add SnapResult s for
OrthogonalSnapLine s or sizes to which this node can potentially snap during
resizing. |
protected IEnumerable<SnapLine> |
NodeReshapeSnapResultProvider.getSnapLines(GraphSnapContext context,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Helper method for method
NodeReshapeSnapResultProvider.collectSnapLineResults(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext, RectD)
that gets all the SnapLine that should be checked for the currently moved node. |