Create PDFs with OpenPDF, JavaFX and GraphicsContext?

156 views Asked by At

Obviously, we can draw AWT graphics via Java AWT's Graphics2D directly to OpenPDF using PdfGraphics2D.

I wonder if there is also a possibility allowing to draw JavaFX graphics via JavaFX's GraphicsContext to OpenPDF?

Since I didn't found a direct way to do so I'd like to know if there is something like FxGraphics2D that bridges Graphics2D calls to GraphicsContext on best effort, but just the other way around?

Thank you very much for any hints.

0

There are 0 answers