<!docType html>
<html>
<head>
<title>svg demo</title>
<style>
.polygon {
fill:lime;
stroke:purple;
stroke-width:1
}
</style>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" style="width:100%;height:500px">
<!--
多边形
points
-->
<polygon points="220,10 300,210 170,250 123,234" class="polygon"/>
</svg>
</body>
</html>
svg之多边形
猜你喜欢
转载自blog.csdn.net/weixin_40402681/article/details/85610412
今日推荐
周排行