Search
DrawingUtils.pointInCircle Method
See Also
 





Checks whether the specified circle contains the specified point.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function pointInCircle (point, center, radius)

 Parameters

point

Point. The point to check.

center

Point. The center of the circle.

radius

Number. The radius of the circle.

 Return Value

Boolean. true if the circle contains the specified point, false if not.

 See Also