Polygon.contains() method
Check whether this polygon contains a point.
Signature:
contains(point: Point): boolean;
Parameters
Parameter |
Type |
Description |
---|---|---|
point |
boolean
Remarks
This takes holes into consideration. If a point falls within one of this polygon's holes, the result will be false
.