2022-12-14 2 分钟 0.3 k0次访问
svg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
| <svg width="500" height="500" style="background-color: #eee;">
<rect width="100" height="100" x="100" y="100" rx="10" ry="10"></rect> <circle cx="250" cy="250" r="100"></circle> <ellipse cx="475" cy="450" rx="25" ry="50"></ellipse> <line x1="0" y1="0" x2="500" y2="500" stroke="green"></line> <polyline points="500 0, 100 100, 0 500" stroke="blue" fill="none"></polyline> <polygon points="500 0, 400 400, 0 500" stroke="none" fill="green"></polygon> <path d="M 0 0 L 50 50 L 50 100 L 100 400 L 400 400 L 400 100 L 50 50 Z" stroke="orange" fill="none" ></path><path d="M 0 0 l 250 150 l 100 0 l 0 -100 l 50 50 l 50 0 l 0 350 l -350 0 l 0 -50 l -50 -50 l 100 0 l 0 -100 Z" stroke="red" fill="none" stroke-width="5" stroke-dasharray="25 5 10 5" stroke-dashoffset="5" stroke-linecap="round" stroke-linejoin="round"></path>
<text x="250" y="250" fill="pink" font-size="50" font-weight="bold" text-decoration="underline" text-anchor="middle" dominant-baseline="middle">SVG</text> <text font-size="25"> <tspan x="400" y="380">S</tspan> <tspan x="400" y="400">V</tspan> <tspan x="400" y="420">G</tspan> </text>
<a xlink:href="https://developer.mozilla.org/zh-CN/docs/Web/SVG" xlink:title="svg" target="_blank"> <text x="50" y="50" font-size="25">SVG</text> </a>
<image xlink:href="https://img.zcool.cn/community/0167b95fc9ea7a11013ee04dc55982.jpg@1280w_1l_2o_100sh.jpg" width="50" height="50" x="100" y="100"></image>
</svg>
|