public interface IBendSnapResultProvider
GraphSnapContext
for bends
to collect a number of
SnapResult
s during the move/edit operation.
This interface is queried from the ILookup
of the
IBend
s that are being moved during the edit.
Modifier and Type | Method and Description |
---|---|
void |
collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
PointD suggestedLocation,
IBend bend)
Called when a node is
dragged
to add SnapResult s for
OrthogonalSnapLine s to which this bend can potentially snap. |
void collectSnapResults(GraphSnapContext context, CollectSnapResultsEventArgs args, PointD suggestedLocation, IBend bend)
dragged
to add SnapResult
s for
OrthogonalSnapLine
s to which this bend can potentially snap.context
- The snap context which manages the snap lines and the settings.args
- The event argument to obtain the necessary information from and
add results to
.suggestedLocation
- The location
of the bend if the bend would not snap.bend
- The bend that is being moved.