Algorithm-less tricky way
Create a mutable bitmap with the same dimensions as the view you are showing. No need to attach it to a view. Initialize a canvas to it. Clip the path and fill it Red. When you want to see if X, Y is inside the path, just check the color of this point in the bitmap
(Surprisingly, it also works for other colors

)