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
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