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





Returns the diagram item that contains the specified point.

Namespace: MindFusion.Diagramming
Package: ContainerNode.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

true to exclude child links from the search.

onlyInteractive

true to exclude locked items from the search.

 Return Value

Type: DiagramItem
The item that contains the specified point.

 See Also

ContainerNode Members
ContainerNode Class
MindFusion.Diagramming Namespace