Minor missing feature:
The property 'dash_offset' can be passed to the draw-line call:
https://lua-api.factorio.com/2.0.8/clas ... #draw_line
The property 'dash_offset' is missing in the resulting LuaRenderObject:
https://lua-api.factorio.com/2.0.8/clas ... bject.html
Manipulating the dash_offset is (presumably) cheaper than destroying the existing line and creating a new one in its place.
[2.0.8] rendering.draw_line returned LuaRenderObject lacks property 'dash_offset'
Re: [2.0.8] rendering.draw_line returned LuaRenderObject lacks property 'dash_offset'
Okay, added LuaRenderObject::dash_offset read/write for 2.0.66.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.