Simple fill pattern in svg : diagonal hatching

后端 未结 11 1845
轮回少年
轮回少年 2020-12-04 08:28

How would I fill an SVG shape, not with a single colour, an image or a gradient, but with a hatching pattern, diagonal if possible.

It\'s been 2 hours and I\'ve foun

11条回答
  •  独厮守ぢ
    2020-12-04 09:15

    You may be able to create, what you want using a tag.

    As a starting point you might take this example of the respective MDN docu:

        
        
         
            
                
                    
                
            
         
            
        

提交回复
热议问题