Search
Diagram.getItemAt Method
See Also
 





Finds and returns the topmost DiagramItem found at the specified location.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function getItemAt (point, [onlyInteractive])

 Parameters

point

A Point instance identifying a diagram location.

onlyInteractive
Optional.

true to return only items that can be interacted with; otherwise, false.

 Return Value

The topmost DiagramItem found at the given location or null if no DiagramItem has been found.

 See Also