The 'setBackgroundImage' method has a parameter that points to a backgro

The 'setBackgroundImage' method has a parameter that points to a background image.

This parameter is a url. Does this url parameter only accepts http or https protocols ?

Can it also be a relative path or absolute path to a file ?

Have you found the solution? And how to rotate background?