public interface INodeReshapeSnapResultProvider
SnapLine
s for a node which is resized and adds a
set of SnapResult
s for sizes to which this node can potentially snap.Modifier and Type | Method and Description |
---|---|
void |
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. |
void collectSnapResults(GraphSnapContext context, CollectSnapResultsEventArgs args, INode node, ReshapeRectangleContext reshapeContext)
dragged
to add SnapResult
s for
OrthogonalSnapLine
s or sizes to which this node can potentially snap during
resizing.context
- The snap context which manages the snap lines and the settings.args
- The event argument to obtain the context from and add the results to.node
- The node that is being reshaped.reshapeContext
- Carries information about the reshape operation.