|
|
Re: GEF5 Export Diagram as SVG [message #1785396 is a reply to message #1775120] |
Fri, 13 April 2018 13:13  |
|
Hi Ken,
you can export to png using JavaFX snapshotting functionality, however, you might need to tile the rendering by yourself since JavaFX will throw an exception when trying to snapshot a large node.
Apart from that, there is some unmaintained code out there for converting a JavaFX scene graph into an SVG vector image. This is done by traversing the JavaFX scene graph and creating corresponding SVG elements for the individual javaFX nodes. Note that this approach of course has some limitations w.r.t. the JavaFX nodes that can easily be "transformed" into SVG.
h2h
Matthias
|
|
|
Powered by
FUDForum. Page generated in 0.02340 seconds