(转)SVG画圆环

转自:http://nanjiang.beihe.blog.163.com/blog/static/94344410201041114257985/

<?xmlversion="1.0"encoding="utf-8"standalone="no"?>

<!DOCTYPEsvgPUBLIC"-//W3C//DTDSVG1.1//EN""http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd">

<!--CreatedbySVGDeveloper1.0-->

<svgwidth="600"height="600"version="1.1"xmlns="http://www.w3.org/2000/svg"xmlns:xlink="http://www.w3.org/1999/xlink">

<!--奇数填充颜色-->

<pathd="M200200,A100100,011200201zM350200,A5050,010350201z"<!--倒数第四个数1表示大角度画,倒数第三个数0表示逆时针-->

style="fill-rule:evenodd;fill:red;stroke:white"/>

<!--不等于零填充颜色-->

<pathd="M100100,A5050,011100101zM175100,A2525,010175101z"

style="fill-rule:nonzero;fill:black;stroke:none"/>

</svg>

svg

相关推荐