Search
DiagramItem.containsPoint Method
See Also
 





Determines whether this item contains the specified point.

Namespace: MindFusion.Diagramming
File: DiagramItem.js

 Syntax

JavaScript  Copy Code

function containsPoint (point)

 Parameters

point
The Point to check.

 Return Value

Boolean. true if this item contains the specified point, or false otherwise.

 Remarks

This method is used during hit-testing to see if the mouse is inside the item.

 See Also