MindFusion.Charting for JavaScript Programmer's Guide
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

Type: Point
Point. The center of the circle.

rect

Type: Rect
Rect. The rectangle.

rad

Type: Number
Number. The radius of the circle.

 Return Value

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

 See Also

DrawingUtils Members
DrawingUtils Class
MindFusion.Drawing Namespace