utils.curveIntersectsY() function finds the point(s) where a curve
intersects a given Y-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.curveIntersectsY( Point start, Point cp1, Point cp2, Point end, float y)
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.