An ISnapReferenceProvider implementation that can be used to add snap lines for orthogonally routed IEdges.
Implements
- I
See Also
Members
Show:
Constructors
Methods
protected
Parameters
- context: GraphSnapContext
- The context which holds the settings for the snap lines. Note that implementations should not change the state of the context explicitly.
- evt: CollectSnapReferencesEventArgs
- The argument to use for adding snap lines.
- segmentStart: Point
- The start of the segment.
- segmentEnd: Point
- The end of the segment.
See Also
Adds the snap lines for the edge to the evt.
Adds the snap lines for the edge to the
evt.This implementation queries the movement information for the edge to determine which edge segments stay fixed. For each fixed segment, it will call addVerticalSegmentSnapLines or addHorizontalSegmentSnapLines respectively.
Parameters
- context: GraphSnapContext
- The context which holds the settings for the snap lines. Note that implementations should not change the state of the context explicitly.
- evt: CollectSnapReferencesEventArgs
- The argument to use for adding snap lines.
Implements
ISnapReferenceProvider.addSnapReferencesprotected
Parameters
- context: GraphSnapContext
- The context which holds the settings for the snap lines. Note that implementations should not change the state of the context explicitly.
- evt: CollectSnapReferencesEventArgs
- The argument to use for adding snap lines.
- segmentStart: Point
- The start of the segment.
- segmentEnd: Point
- The end of the segment.
See Also
Fields
The edge this provider was created for.
The edge this provider was created for.
protectedfinal