<Dynamically updating Polyline points in tornadofx...
# stackoverflow
u
Dynamically updating Polyline points in tornadofx This question is a bit simplistic, but i couldn't figure it out for myself... What I'm trying to do is using a JavaFX Timeline to update my Polyline points. What I've got until now is as follows: class MainView : View("Hello TornadoFX") { var myLine: Polyline by singleAssign() val myTimeline = timeline { cycleCount = INDEFINITE } override val root = hbox { myLine = polyline(0.0, 0.0, 100.0, 100.0) myTimeline.apply { keyFrames +=...