用波纹圆填充SVG路径

问题描述

我有一个带路径的SVG,looks like this

单击后,我希望圆填充路径,然后消失。我的动画制作了一个圆圈,但由于某种原因,它没有显示。这就是我所拥有的:

<svg id="defaultSvg" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 177 48">
    <defs>
        <clipPath id="path-clip" clipPathUnits="userSpaceOnUse">
            <path id="path1" fill="#f88269" d="M132.022 47.068L142.548 45.6699L151.64 43.3398L161.797 40.3367C163.946 39.7015 165.988 38.7507 167.857 37.5155L168.776 36.9084C170.729 35.6173 172.4 33.9423 173.686 31.9853C174.926 30.0976 175.784 27.9848 176.211 25.7668L176.392 24.8264C176.794 22.7406 176.8 20.598 176.41 18.5101L176.351 18.1908C175.836 15.434 174.595 12.8645 172.756 10.7474C171.142 8.88986 169.115 7.43604 166.839 6.50242L163.398 5.09175C161.941 4.49421 160.441 4.0071 158.911 3.63452L151.64 1.86408L136.328 0H120.059L108.097 0.932037L88.957 1.86408L64.5538 2.79612L34.8871 4.19418L20.8272 6.53207C17.1504 7.14344 13.6103 8.39854 10.3696 10.2397L6.37494 12.5091C4.67224 13.4765 3.22137 14.8313 2.13989 16.4639L1.95612 16.7414C0.0783997 19.5759 -0.477844 23.0855 0.431351 26.3618C1.05774 28.619 2.34526 30.6372 4.1282 32.1566L6.9248 34.5398C8.33568 35.7421 9.88252 36.7751 11.5338 37.6174L14.3214 39.0395C17.496 40.6591 20.8336 41.9371 24.278 42.852L28.0428 43.8519C32.5981 45.0619 37.2443 45.8995 41.9354 46.3564L49.2419 47.068H65.9893H80.3441L96.1344 48H117.667L132.022 47.068Z"></path>
        </clipPath>
    </defs>
    <g clip-path="url(#path-clip)">
        <circle cx="50" cy="50" r="0" fill="#3e4bed" stroke="#3e4bed" stroke-width="2">
            <animate
                attributeName="r"
                begin="defaultSvg.click"
                repeatCount="indefinite"
                dur="1s"
                values="0;40"
                keyTimes="0;1"
                keySplines="0 0.2 0.8 1"
                calcMode="spline" />
            <animate
                attributeName="opacity"
                begin="defaultSvg.click"
                repeatCount="indefinite"
                dur="1s"
                values="1;0"
                keyTimes="0;1"
                keySplines="0.2 0 0.8 1"
                calcMode="spline" />
        </circle>
    </g>
    <use xlink:href="#path1"/>
</svg>

有什么建议吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...