Interface IHitTestService
The service supporting the hit-testing when selecting diagram items through a selection rectangle or a click-select action.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public interface IHitTestService
Remarks
Note that this service can be customized and plugged into the Service
Properties
ItemUnderMouse
Gets the item under the mouse.
Declaration
IDiagramItem ItemUnderMouse { get; }
Property Value
ShapeUnderMouse
Methods
GetConnectionsUnderRect(Rect)
Gets the connections intersecting the specific rectangle.
Declaration
IEnumerable<IConnection> GetConnectionsUnderRect(Rect rect)
Parameters
System.
|
Returns
System.
|
GetItemsNearPoint(Point, Double)
Gets the items near point.
Declaration
IEnumerable<IDiagramItem> GetItemsNearPoint(Point point, double delta)
Parameters
System. The point. |
System. The delta. |
Returns
System.
|
GetItemsUnderRect(Rect)
Gets the items under rectangle.
Declaration
IEnumerable<IDiagramItem> GetItemsUnderRect(Rect rect)
Parameters
System. The rectangle. |
Returns
System.
|
GetShapesNearPoint(Point, Double)
Gets the shapes near point within some delta distance.
Declaration
IEnumerable<IShape> GetShapesNearPoint(Point point, double delta)
Parameters
System. The point. |
System. The delta. |
Returns
System.
|
GetShapesUnderRect(Rect)
Gets the shapes under rectangle.
Declaration
IEnumerable<IShape> GetShapesUnderRect(Rect rect)
Parameters
System. The rectangle. |
Returns
System.
|
GetTopItemNearPoint(Point, Double)
Gets the topmost item under point.
Declaration
IDiagramItem GetTopItemNearPoint(Point point, double delta)
Parameters
System. The point. |
System. The delta. |
Returns
GetTopShapesUnderPoint(Point)
Gets the shapes under point.
Declaration
IEnumerable<IShape> GetTopShapesUnderPoint(Point point)
Parameters
System. The point. |
Returns
System.
|