title: How to check if Path2D intersect with Line?
body: <p>How do i check if Path2D intersects with line2d.</p>
  
  <p>I should iterate through all path segments (lines, curves,...) and check if each intersects with line (defined by X1,Y1 and X2, Y2). but how to itterate? </p>
  
  <p>It has to be precise so no boundary or bounding box.</p>