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.WinControls.RadDiagram.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
Returns
IEnumerable<IConnection>
GetItemsNearPoint(Point, double)
Gets the items near point.
Declaration
IEnumerable<IDiagramItem> GetItemsNearPoint(Point point, double delta)
Parameters
point
The point.
delta
The delta.
Returns
IEnumerable<IDiagramItem>
GetItemsUnderRect(Rect)
Gets the items under rectangle.
Declaration
IEnumerable<IDiagramItem> GetItemsUnderRect(Rect rect)
Parameters
rect
The rectangle.
Returns
IEnumerable<IDiagramItem>
GetShapesNearPoint(Point, double)
Gets the shapes near point within some delta distance.
GetShapesUnderRect(Rect)
Gets the shapes under rectangle.
GetTopConnectionsUnderPoint(Point)
Gets the shapes under point.
Declaration
IEnumerable<IConnection> GetTopConnectionsUnderPoint(Point point)
Parameters
point
The point.
Returns
IEnumerable<IConnection>
GetTopItemNearPoint(Point, double)
Gets the topmost item under point.
Declaration
IDiagramItem GetTopItemNearPoint(Point point, double delta)
Parameters
point
The point.
delta
The delta.
Returns
GetTopShapesUnderPoint(Point)
Gets the shapes under point.