【发布时间】:2023-04-05 22:33:01
【问题描述】:
我想插入多张图片,包括背景颜色。
<defs>
<pattern id="img1" patternUnits="userSpaceOnUse" width="1280" height="15">
<image xlink:href="images/l1gloss.png" x="0" y="0" width="1280" height="15" />
</pattern>
</defs>
<path id="curve" style="fill:#990000 url(#img1)" d="M1279.919,13c0,0-612.618,21.562- 816.925,22.298C347.224,35.715,0,26,0,26V13c0,0,347.981,9.71,464.005,9.287C668.059,21.542,1279.919,0,1279.919,0V13z" filter="url(#f1)" stroke="none"> </path>
但它显示一条黑色曲线。但是如果我从它的工作样式中删除填充颜色或#img1。 现在我想在曲线路径中同时使用填充颜色和#img。 请帮忙。
【问题讨论】: