Checks whether the specified circle contains the specified point.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function pointInCircle (point, center, radius) |
Type: Point
Point. The point to check.
Type: Point
Point. The center of the circle.
Type: Number
Number. The radius of the circle.
Type: Boolean
Boolean. true if the circle contains the specified point, false if not.