RichPath
RichPath copied to clipboard
PathEffect
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
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.