The SnapResult type exposes the following members.

Constructors

  NameDescription
Protected methodSnapResult
Initializes a new instance of the SnapResult class

Methods

  NameDescription
Public methodStatic memberCreatePointSnapResult
Factory method that creates a SnapResult that snaps to a given location.
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.)
Public methodGetVisualCreator
Returns a visual creator which is able to create a Visual for this snap result.
Public methodIsSnapped
Checks whether this instance is still snapped given the final mouse coordinates.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSnap
Core method that performs the actual snapping.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyStatic memberNullResult
A SnapLineSnapResult representing that there is no snapping of the x or y coordinate.
Public propertyTag
The tag associated with this result.
Public propertyWeight
Yields the weight of this result, the higher the weight, the more important it is.

See Also