Rotate rectangle around its own center in SVG

前端 未结 5 1553
孤独总比滥情好
孤独总比滥情好 2020-12-05 08:59

I have following piece of code :






        
5条回答
  •  心在旅途
    2020-12-05 09:50

    Nothing you just need to write the following code with the element in javascript:

    element.rotate(angle Degree);
    

提交回复
热议问题