How to prevent a SVG marker (arrow head) to inherit path's stroke width?

后端 未结 1 1284
迷失自我
迷失自我 2020-12-15 22:35

I have arrows with different edge thickness however I want the arrowhead (svg marker) to have the same size, i.e., to not be resized according to the path\'s stroke width. W

相关标签:
1条回答
  • 2020-12-15 23:09

    See http://www.w3.org/TR/SVG11/painting.html#MarkerUnitsAttribute.

    What you seem to want is markerUnits="userSpaceOnUse".

    0 讨论(0)
提交回复
热议问题