HitTestService
Class
Service handling the hit-testing of diagram elements.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public class HitTestService : GraphServiceBase, IHitTestService
Inheritance: objectGraphServiceBaseHitTestService
Implements:
Inherited Members
Constructors
Initializes a new instance of the HitTestService class.
Properties
Gets the item under the mouse.
C#
public IDiagramItem ItemUnderMouse { get; }
Implements:
Gets the shape under mouse.
C#
public IShape ShapeUnderMouse { get; }
Implements:
Methods
Gets the connections intersecting the specific rectangle.
C#
public IEnumerable<IConnection> GetConnectionsUnderRect(Rect rect)
IEnumerable<IConnection>
Implements:
Gets the items near point.
C#
public IEnumerable<IDiagramItem> GetItemsNearPoint(Point point, double delta)
The point.
deltadoubleThe delta.
Returns:IEnumerable<IDiagramItem>
Implements:
Gets the items under rectangle.
C#
public IEnumerable<IDiagramItem> GetItemsUnderRect(Rect rect)
The rectangle.
Returns:IEnumerable<IDiagramItem>
Implements:
Gets the shapes under point.
C#
public IEnumerable<IConnection> GetTopConnectionsUnderPoint(Point point)
The point.
Returns:IEnumerable<IConnection>
Implements: