I just realized that Tiled Background can be used to draw lines in runtime, for example dotted:
It's better than sprite because you can change its length without distortion. And it's better than 9patch because you can't rotate 9patch.
Performance wise it looks very good too, I added about a hundred of such lines to layout, changing their size on every tick and still getting 60 pfs on mobile (WebGL enabled).
Can there be any potential problems with using Tiled Background like this?