Path.intersectsY()

The Path.intersectsY() method returns the Point object(s) where the path intersects with a given Y-value.

WARNING

This method 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.

Signature

Javascript
array|false path.intersectsY(float y)

Example