You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to draw javafx nodes to a Graphics2D so I can draw these in frameworks that use Graphics2D. Sofar I do not have a solution, perhaps overriding JFXPanel#paintComponent is a good starting point.
The text was updated successfully, but these errors were encountered:
Works, only thing is I have to create a JFrame and set visible to true to trigger rendering. Also I have to instantiate a JFXPanel before instantiating JavaFX Chart nodes to get rid of "Toolkit not initialized".
Not realy flexible, but I don't see a better way for now
There is a feature request for using a graphics layer in JavaFX along the lines of the way Swing uses Graphics2D. It's an excellent request, but has been given a very very low priority...I don't think it will be implemented.
I would like to be able to draw javafx nodes to a Graphics2D so I can draw these in frameworks that use Graphics2D. Sofar I do not have a solution, perhaps overriding JFXPanel#paintComponent is a good starting point.
The text was updated successfully, but these errors were encountered: