I'm trying to reproduce lightning effect similar to this one https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/graphics/skiasharp/effects/image-filters#lighting-effects, but my content is a SKPath as opposed to Text
What I'd like to achieve is for the effect to only change colour of my Path (stroke with specific width), as opposed to everything around it (background)
I've tried clipping the canvas with my Path, but that does not work because I need the path to have Stroke with specific Width, and that cannot be reproduced by transforming a path.
As you can see on the attached picture, the SKImageFilter.CreateDistantLitDiffuse effect it applied to full canvas, and I'd only like to apply it to the SKPath object
Any ideas?

