Checks if the given point is within the bounds of the given pie.
Namespace: MindFusion.Drawing
File: Graphics.js
JavaScript Copy Code |
---|
function pointInPie (point, rect, radius, startAngle, endAngle, [doughnut]) |
The point to check.
The bounds of the pie.
The radius of the pie.
The startAngle of the pie.
The endAngle of the pie.
True if the pie is a doughnut, otherwise false.
True if the point lies within pie bounds, otherwise false.