InterfaceIHitTestService
The service supporting the hit-testing when selecting diagram items through a selection rectangle or a click-select action.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public interface IHitTestService
Properties
ItemUnderMouse
Gets the item under the mouse.
ShapeUnderMouse
Gets the shape under mouse.
Methods
GetConnectionsUnderRect(Rect)
Gets the connections intersecting the specific rectangle.
Declaration
IEnumerable<IConnection> GetConnectionsUnderRect(Rect rect)
Parameters
rect
Rect
Returns
GetItemsNearPoint(Point, double)
Gets the items near point.
Declaration
IEnumerable<IDiagramItem> GetItemsNearPoint(Point point, double delta)
Parameters
point
Point
The point.
delta
The delta.
Returns
GetItemsUnderRect(Rect)
Gets the items under rectangle.
Declaration
IEnumerable<IDiagramItem> GetItemsUnderRect(Rect rect)
Parameters
rect
Rect
The rectangle.
Returns
GetShapesNearPoint(Point, double)
Gets the shapes near point within some delta distance.
Declaration
IEnumerable<IShape> GetShapesNearPoint(Point point, double delta)
Parameters
point
Point
The point.
delta
The delta.
Returns
GetShapesUnderRect(Rect)
Gets the shapes under rectangle.
Declaration
IEnumerable<IShape> GetShapesUnderRect(Rect rect)
Parameters
rect
Rect
The rectangle.
Returns
GetTopItemNearPoint(Point, double)
Gets the topmost item under point.
Declaration
IDiagramItem GetTopItemNearPoint(Point point, double delta)
Parameters
point
Point
The point.
delta
The delta.
Returns
GetTopShapesUnderPoint(Point)
Gets the shapes under point.
Declaration
IEnumerable<IShape> GetTopShapesUnderPoint(Point point)
Parameters
point
Point
The point.
Returns