Provides the snap results to the GraphSnapContext during dragging of labels.
Inheritance Hierarchy
Remarks
See Also
Members
No filters for this type
Methods
Called when the given label is dragged to add SnapResults for the SnapReferences provided by the context.
Called when the given
label is dragged to add SnapResults for the SnapReferences provided by the context.abstract
Parameters
- context: GraphSnapContext
- The snap context which manages the snap references and the settings.
- evt: CollectSnapResultsEventArgs
- The event argument to obtain the necessary information from and add results to.
- suggestedLayout: IOrientedRectangle
- The layout of the label that would be used without snapping.
- label: ILabel
- The label that is dragged.
Implemented in
LabelSnapResultProvider.collectSnapResultsStatic Methods
create
(collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel): void): ILabelSnapResultProviderstatic
create
(collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel): void): ILabelSnapResultProviderstatic
static
Parameters
- collectSnapResults: function(GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel): void