圆围绕其轴旋转

时间:2017-07-31 02:02:39

标签: svg axis geometry

我想围绕其轴旋转一圈,但这就是它现在正在做的事情。

<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <svg>
      <circle cx="150" cy="20" r = 10 fill="blue">
        <animateTransform attributeType="xml"
                    attributeName="transform"
                    from="0 180 50"
                    type="rotate"
                    to="360 180 50"
                    dur="4s"
                    repeatCount="indefinite"/>
      </circle>  
    </svg>
  </body>
</html>'

0 个答案:

没有答案