Draw text in SVG but remove background

前端 未结 2 1133
有刺的猬
有刺的猬 2020-12-10 17:01

I\'m working with an SVG element that should look something like this: (sorry that I have to post this as a link instead of as a picture, but as a new user I didn\'t have pe

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-10 17:40

    I believe a simple way to affect this is to use the user's text as a luminance mask with a big stroke-width set & a black stroke. Next, place the text normally over the masked border.

提交回复
热议问题