setRotate

fun setRotate(angle: Float, cx: Float, cy: Float)(source)

The setRotate() method of the SVGTransform interface sets the transform type to SVG_TRANSFORM_ROTATE, with parameter angle defining the rotation angle and parameters cx and cy defining the optional center of rotation.

MDN Reference