Outlining and partially filling an SVG Shape

后端 未结 3 1096
不思量自难忘°
不思量自难忘° 2020-11-28 15:23

I have a jsfiddle here - http://jsfiddle.net/apbuc773/

I\'d like to create a star using svg.

I\'d like to stroke the outside of the star. In my example the s

3条回答
  •  猫巷女王i
    2020-11-28 15:50

    Here is a example: http://jsfiddle.net/apbuc773/11/

    Gradient can be used like this:

    
        
            
                
                
                
                
                        
        
        
    

    If you don't want to change your polygon points, just apply this polygon twice: one time with stroke and one time without.

提交回复
热议问题