Checks whether the specified rectangle contains the specified point.
Namespace: MindFusion.Drawing
Package: 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.