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.
setRotate()
SVG_TRANSFORM_ROTATE
angle
cx
cy
MDN Reference