最近用说svg 画图的时候,给线条设置1px,但是宽度始终不是1px 的。

查找了各种版本的解答,最终发现 这个属性可以解决

shape-rendering: crispEdges  

mark一下

相关文章: