Checks if the specified rectangle and circle intersect.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function checkIntersect (point, rect, rad) |
Type: Point
Point. The center of the circle.
Type: Rect
Rect. The rectangle.
Type: Number
Number. The radius of the circle.
Type: Boolean
Boolean. true if the rectangle and the circle intersect; otherwise, false.