Check to see if the Polygon contains the given x / y coordinates.
name | type | description |
---|---|---|
x | number |
The x coordinate to check within the polygon. |
y | number |
The y coordinate to check within the polygon. |
true
if the coordinates are within the polygon, otherwise false
.