Is it possible to use a background image on the stroke of an SVG element?

后端 未结 2 1473
北荒
北荒 2021-01-03 06:06

Just as the question asks - I\'m trying to figure out whether or not it\'s possible to use some kind of pattern or repeated background image for the stroke of an SVG path.

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-03 06:10

    You can use a as a stroke e.g.

        
          
            
              
            
          
          
        

    The pattern can contain drawing elements or (as here) an image, or both.

提交回复
热议问题