首页 > svg的path问题?

svg的path问题?

`<path d="m106,93c3,0 4.31001,0.33749 7,2c3.60901,2.23049 6.71413,6.21168 9,9c0.89659,1.09367 3,2 3,3c0,1 -0.49345,1.87856 -1,5c-0.32036,1.97418" id="svg_8" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="5" stroke="#000000" fill="none"></path>

<path d="M5,100A95,95 0,1,1 195,100A95,95 0,1,1 5,100" style="stroke-dasharray: 597, 599; stroke-dashoffset: 0;"></path>
上面path中93c3 、100A95是什么意思?路径中为什么会有字母?


不是93c3

m106,93
c3,0 4.31001,0.33749 7,2

同理A的也相似

具体的各个字母定义可以参考

1
2


路径数据字母意思:
M = moveto
L = lineto
H = horizontal lineto
V = vertical lineto
C = curveto
S = smooth curveto
Q = quadratic Bézier curve
T = smooth quadratic Bézier curveto
A = elliptical Arc
Z = closepath

【热门文章】
【热门文章】