Search
ShapeNode.containsPoint Method
See Also
 





Checks if the ShapeNode contains the specified point.

Namespace: MindFusion.Diagramming
Package: ShapeNode.js

 Syntax

JavaScript  Copy Code

function containsPoint (point)

 Parameters

point
The Point to check.

 Return Value

true if the Point is within the bounds of this node; otherwise, false.

 Remarks

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

 See Also