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