pointOnLine(x, y) → {boolean}
Tests if the given coordinates fall on this line. See pointOnSegment to test against just the line segment.
Parameters
Name | Type | Description |
---|---|---|
x | number | The line to check against this one. |
y | number | The line to check against this one. |
Returns
boolean -
True if the point is on the line, false if not.
- Source code: geom/Line.js (Line 224)
Please login to continue.