Translate

The attribute transform="translate(tx ty)" allows you to move objects. To do so, specify the offset of the x or y-coordinate in parentheses.

<rect x="0" y="0" width="50" height="50" fill="red" />
<rect x="0" y="0" width="50" height="50" fill="blue"
      transform="translate(100 100)" />
../../../_images/translate.png