MindFusion.Charting for JavaScript Programmer's Guide
DrawingUtils.checkIntersect Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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