line.intersection(l)
Deprecated. Use the line.intersect()
function instead.
Return the intersection point of the line with another line l
.
A rectangle can also be passed in as the parameter. In that case, an array of intersection points with the line is returned.
Return null
if no intersections are found.