ASP.NET Pack Programmer's Guide
DiagramItem.hitTest Method
See Also
 





Returns the diagram item that contains the specified point.

Namespace: MindFusion.Diagramming
Package: DiagramItem.js

 Syntax

JavaScript  Copy Code

function hitTest (point, [threshold, [onlyNodes, [onlyInteractive]]])

 Parameters

point

A Point value specifying the logical coordinates of a diagram point.

threshold
Optional.

Specifies the size of the area around the item outlines where the point is still considered inside the item.

onlyNodes
Optional.

true to exclude child links from the search.

onlyInteractive
Optional.

true to exclude locked items from the search.

 Return Value

Type: DiagramItem
The item that contains the specified point.

 See Also

DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace