ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Transformations > Rotating objects

Use the transform element. The first argument of rotate is the angle, the following two are the coordinates of the center.


Output
Output - picture
SVG version


Source
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" >
     <g transform="rotate(90, 10, 20)" font-family="SansSerif">
          <text x="10" y="20">Rotated text</text>
     </g>
</svg>