title: I am creating an application that uses Net Beans / JavaFx / Scene builder. The app will contain 8 scenes one contains graphics
body: <p>My process would be to create a method that will draw a line from a start position (x,y) to an end position (x,y) on a Image view background. The only code I have been able to see creates a single stage including the main etc. This does not work in the current structure using a controller. Is there a way to create a method in a controller that will perform this task? The code exists to put an image on the scene in a controller method and draw lines based on coordinates but I see no way to combine the two features.</p>