utils.curveIntersectsX() function finds the point(s) where a curve
intersects a given X-value.
This function can sometimes fail to find intersections in some curves due to a limitation in an underlying Bézier library. Please see Bug #3367 for more information.
array | Point | false utils.curveIntersectsX( Point start, Point cp1, Point cp2, Point end, float x)
This is a low-level (and faster) variant
Instead of a path, you describe a single curve by passing the four
points that describes it.