void rotate(Element el, Vector2 rotation)

Source

void rotate( Element el, Vector2 rotation) => transform(el, rotation:  rotation);