How can we improve the Microsoft Edge developer experience?

isPointInStroke

It would be fantastic if you could support the canvas context isPointInStroke method as per Chrome, Firefox, Safari.

It is by far the easiest way to do hollow-object arbitrary path-based hit testing (way easier than the unbelievably challenging, bounding-box-based hit testing proposed in the standard).

At the moment, we have some rather poor fallback code for IE/Edge that approximates it using a bit of iteration over isPointInPath().

23 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Matthew Adams shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • David Crow commented  ·   ·  Flag as inappropriate

        Hi Matthew, seconded.. until a fix is available, are you able to share the fallback code that you are using?

      Feedback and Knowledge Base