<!docType html>
<html>
<head>
<title>svg demo</title>
<style>
.ellipse {
fill: rgb(0, 255, 0);
fill-opacity: 0.7;
stroke-width: 2px;
stroke: rgb(100, 100, 100)
}
</style>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<!--
椭圆形
cx,cy:椭圆中心坐标
rx:水平半径
ry:垂直半径
-->
<ellipse cx="100" cy="80" rx="100" ry="50" class="ellipse">
</svg>
</body>
</html>
svg之椭圆形
最新推荐文章于 2024-04-15 17:04:35 发布