Skip to main content

Path.intersectsX()

The Path.intersectsX() method returns the Point object(s) where the path intersects with a given X-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

array path.intersectsX(float x)

Example

Example of the Path.intersectsX() method