【发布时间】:2016-08-23 08:51:19
【问题描述】:
我写了一些 SVG:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<ellipse cx="150" cy="75" rx="100" ry="75" fill="rgb(200,240,120)" stroke="rgb(200,240,120)" stroke-width="3px" />
</svg>
它呈现like this
我想将填充颜色渲染效果转换为look like this
我已经阅读了关于 SVG 的 w3c 文档。我试过过滤器,但它不像那些图像那样工作。
【问题讨论】:
-
不知道你在问什么,第二张图片看起来不像第一张?此外,
fill属性是填充的颜色代码。 -
第二个图片链接错误,我已经修复了链接。
标签: svg background