The LabelSnapContextHelper type exposes the following members.

Constructors

  NameDescription
Public methodLabelSnapContextHelper
Initializes a new instance of the LabelSnapContextHelper class

Methods

  NameDescription
Protected methodAddEdgePathSnapLines(LabelSnapContext, IInputModeContext, ILabel)
Adds snap lines to the context that are parallel to the path segments of the owner edge at particular distances.
Protected methodAddEdgePathSnapLines(LabelSnapContext, IInputModeContext, ILabel, Double)
Adds snap lines to the context that are parallel to the path segments of the owner edge at the given distance.
Protected methodAddInitialLocationSnapLines
Adds two snap line for the initial center location of the label, one in the direction of the up vector, the other orthogonal to that direction.
Protected methodAddNodeShapeSnapLines
Adds snap lines to the context that are parallel to the owner node's border at particular distances.
Public methodAddSnapLines
Called during initialization of a label dragging to add snap lines to which the label can potentially snap to the context.
Public methodCollectSnapResults
Called while the given label is dragged to add snap results for the snap lines provided by the context.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields

  NameDescription
Public fieldStatic memberInstance
Returns the static shared instance of this class.

See Also