Class SnappingEngine
Encapsulates snapping calculations.
Inheritance
System.Object
SnappingEngine
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class SnappingEngine : Object
Constructors
SnappingEngine()
Declaration
public SnappingEngine()
Methods
GetHorizontalMatchingOverride(SnappingItem, SnappingItem)
Gets the horizontal axis matching between two items.
Declaration
protected virtual MatchingInfo GetHorizontalMatchingOverride(SnappingItem itemToSnap, SnappingItem staticItem)
Parameters
SnappingItem
itemToSnap
|
SnappingItem
staticItem
|
Returns
MatchingInfo
|
GetVerticalMatchingOverride(SnappingItem, SnappingItem)
Gets the vertical axis matching between two items.
Declaration
protected virtual MatchingInfo GetVerticalMatchingOverride(SnappingItem itemToSnap, SnappingItem staticItem)
Parameters
SnappingItem
itemToSnap
|
SnappingItem
staticItem
|
Returns
MatchingInfo
|