Checks whether the specified rectangle contains the specified point.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function pointInPolygon (point, polygon) |
Point. The point to check.
Array. An array with the points that define the polygon.
Boolean. true if the polygon contains the specified point, false if not.