setTranslate

external fun setTranslate(tx: Float, ty: Float)(source)

The setTranslate() method of the SVGTransform interface sets the transform type to SVG_TRANSFORM_TRANSLATE, with parameters tx and ty defining the translation amounts.

MDN Reference