Intersection
line-line
line-line() -> vector or none
Checks for a line-line intersection between the given points and returns its position, otherwise none.
When true
, intersections will be found for the whole line instead of inbetween the given points.
line-cubic
line-cubic() -> array
Finds the intersections of a line and cubic bezier.
When true
, intersections will be found for the whole line instead of inbetween the given points.
line-linestrip
line-linestrip() -> array
Finds the intersections of a line and linestrip.
line-path
line-path() -> array
Finds the intersections of a line and path in 2D. The path should be given as a drawable of type path
.
path-path
path-path() -> array
Finds the intersections between two path drawables in 2D.