I

IEdgeSnapResultProvider

Interface for classes that help during snapping of parts of edges.
Inheritance Hierarchy

Remarks

An implementation of this class is obtained from the lookup of the IEdges which are being edited during an operation where graph snapping is involved.

See Also

API

snapResultProvider

Members

No filters for this type

Methods

Called during the snapping operation whenever snap results are collected.
This method will be called for each collection of the results.
abstract

Parameters

context: GraphSnapContext
The context that is using this instance.
evt: CollectSnapResultsEventArgs
The event argument to obtain the necessary information from and add results to.
movementInfos: IListEnumerable<MovementInfo>
conversion
The movement infos that describe the edge.
edge: IEdge
The edge for which the SnapResults should be collected.

Static Methods

Creates an implementation of the interface IEdgeSnapResultProvider by using the given function as implementation for its collectSnapResults method.
static

Parameters

collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, IListEnumerable<MovementInfo>, IEdge): void
A function for IEdgeSnapResultProvider's single abstract method collectSnapResults.

Return Value

IEdgeSnapResultProvider
An instance of the IEdgeSnapResultProvider interface based on the given function.