Search
DrawingUtils.checkIntersect Method
See Also
 





Checks if the specified rectangle and circle intersect.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function checkIntersect (point, rect, rad)

 Parameters

point

Point. The center of the circle.

rect

Rect. The rectangle.

rad

Number. The radius of the circle.

 Return Value

Boolean. true if the rectangle and the circle intersect; otherwise, false.

 See Also