RichPath icon indicating copy to clipboard operation
RichPath copied to clipboard

PathEffect

Open dvkch opened this issue 5 years ago • 1 comments

Hi,

First of all thanks a lot for all this work, I've been porting an iOS app that uses SVGKit extensively and RichPath has helped me a lot in this endeavour.

I have yet to find a replacement for dash pattern effects I could create easily on iOS using native CAShapeLayer properties like lineDashPattern. Android seems to create the same effect using pathEffects property on Paint, but those are not accessible using on a rich RichPath.

If I'm not mistaken other properties on RichPath like strokeLineJoin are copied to an underlying private Paint property. Would it be possible to add a way to set a strokePathEffect too ?

Thanks a lot for considering

dvkch avatar Sep 27 '19 13:09 dvkch

Hi, this is a feature I think we may support, but I don't have a plane to do that soon, but feel free to open a PR with that nice feature.

tarek360 avatar Feb 01 '20 09:02 tarek360