【问题标题】:What does the letter 'e' means inside a SVG path?SVG 路径中的字母“e”是什么意思?
【发布时间】:2017-08-07 06:01:08
【问题描述】:

MDNW3schools 在 SVG 路径中唯一可用的字母(命令)是:M/m(moveto)、L/z(lineto)、H/h(horizo​​ntal lineto)、V/v(vertical lineto), C/c(curveto), S/s(smooth curveto), Q/q(quadratic Bézier curve), T/t(smooth quadratic Bézier curveto), A/a(elliptical Arc) and Z/z(closepath) )。

但我刚刚在 Inkscape 制作的 SVG 文件中找到了“e”(2.52e-4,1.13167),我需要知道它是什么意思。完整路径:

<path style="fill:#000000;stroke-width:0.25446901"
       d="m 83.846207,283.12668 c 15.992614,-15.1728 -2.513154,-76.38272 -19.662265,-19.85549 -2.686628,2.07836 -3.844405,3.79032 -3.843936,5.68391 2.52e-4,1.13167 1.271934,3.67458 2.424778,4.8488 29.290043,-6.79271 2.902502,8.1524 11.570816,9.81493 1.988533,0.34976 6.85716,0.0978 9.510607,-0.49215 z"
       id="path47"
       inkscape:connector-curvature="0"
       sodipodi:nodetypes="cccccc" />

ps:代码是在 Inkscape 上制作的“跟踪位图”的结果

【问题讨论】:

标签: svg inkscape


【解决方案1】:

e 是指数符号:https://www.w3schools.com/js/js_numbers.asp

2.52e-4 例如表示 0.000252 = 2.52 * 10 ^ -4 = 2.52 * 0.0001

【讨论】:

    猜你喜欢
    • 2011-02-01
    • 1970-01-01
    • 2020-10-01
    • 2022-09-28
    • 1970-01-01
    • 2010-11-06
    • 2012-03-12
    • 2023-04-06
    • 1970-01-01
    相关资源
    最近更新 更多