首页 > 其他 > 详细

SVG六基本元素

时间:2015-07-17 20:49:49      阅读:127      评论:0      收藏:0      [点我收藏+]
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>svg 6 elements</title>
</head>
<body>
    <h1>Hello SVG 6 Elements</h1>
     
        <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"  >
    <rect x="20" y="20" width="50" height="30" rx="5" ry=‘10‘></rect>
    <circle cx="100" cy="20" r="10"></circle>
    <ellipse cx="150" cy="20" rx="10" ry="5"></ellipse>
    <line x1="100" y1="100" x2="110" y2="90" style=‘stroke:rgb(99,99,99);stroke-width:2‘></line>
    <polygon points="100,100 150,150 139,123" style="fill:#cccccc; stroke:#000000;stroke-width:1"/>
    <polyline points="0,0 0,20 20,20 20,40 40,40 40,60" style="fill:white;stroke:red;stroke-width:2"/>

</svg>
     
</body>
</html>

 

SVG六基本元素

原文:http://www.cnblogs.com/stono/p/4655572.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!