Checks whether the specified ellipse contains the specified point.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function pointInEllipse (point, rect) |
Point. The point to check.
Rect. The bounds of the ellipse.
Boolean. true if the ellipse contains the specified point, false if not.