开发者

Stroking an SVG polyline with a gradient

开发者 https://www.devze.com 2023-03-12 06:20 出处:网络
Is it po开发者_StackOverflowssible to stroke an SVG polyline with an horizontal linear gradient where the gradient\'s angle changes at every polyline vertex? it would look something like this:

Is it po开发者_StackOverflowssible to stroke an SVG polyline with an horizontal linear gradient where the gradient's angle changes at every polyline vertex? it would look something like this:

Stroking an SVG polyline with a gradient


Have a look at tubefy by Israel Eisenberg. There's not currently anything in svg that will give you exactly what you're asking for declaratively. However, tubefy makes use of svg for rendering, and can produce advanced gradients such as the one you're looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消