IHitTestService
Interface
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:
C#
public interface IHitTestService
Derived Classes:
Properties
Gets the item under the mouse.
C#
IDiagramItem ItemUnderMouse { get; }
Gets the shape under mouse.
C#
IShape ShapeUnderMouse { get; }
Methods
Gets the connections intersecting the specific rectangle.
C#
IEnumerable<IConnection> GetConnectionsUnderRect(Rect rect)
IEnumerable<IConnection>
Gets the items near point.
C#
IEnumerable<IDiagramItem> GetItemsNearPoint(Point point, double delta)
The point.
deltadoubleThe delta.
Returns:IEnumerable<IDiagramItem>
Gets the items under rectangle.
C#
IEnumerable<IDiagramItem> GetItemsUnderRect(Rect rect)
The rectangle.
Returns:IEnumerable<IDiagramItem>
Gets the shapes under point.
C#
IEnumerable<IConnection> GetTopConnectionsUnderPoint(Point point)
The point.
Returns:IEnumerable<IConnection>