Returns the diagram item that contains the specified point.
Namespace: MindFusion.Diagramming
File: DiagramItem.js
JavaScript Copy Code |
---|
function hitTest (point, [threshold, [onlyNodes, [onlyInteractive]]]) |
Point. A Point value specifying the logical coordinates of a diagram point.
Number. Specifies the size of the area around the item outlines where the point is still considered inside the item.
Boolean. true to exclude child links from the search.
Boolean. true to exclude locked items from the search.
DiagramItem. The item that contains the specified point.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |