How to place arrow head triangles on SVG lines?

后端 未结 2 1911
情书的邮戳
情书的邮戳 2020-11-28 19:24

I am new to SVG and I am trying to draw a straight line between two points. I managed so far by using this command:

2条回答
  •  广开言路
    2020-11-28 19:54

    Just want to add some helpful links and examples:

    1. The arrow can be quadratic

    2. Cubic curve

    Documentation: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths

    Demo: both kinds of arrows implemented here:

    
    
    
      
      
      JS Bin
    
    
    
      
      
    
      
        
        
      
    
    
    
        
    
    
    
    
    

提交回复
热议问题