Export JPanel to vector graphics

前端 未结 7 1901
梦如初夏
梦如初夏 2020-12-17 04:46

I would like to export the image in my JPanel to a vector graphics file so it can be edited and printed at a higher-than-screen resolution. Essentially I want its pai

7条回答
  •  星月不相逢
    2020-12-17 05:26

    Additional libraries for people with the same requirement:

    • for SVG, JFreeSVG at http://www.jfree.org/jfreesvg/
    • for PDF, OrsonPDF at http://object-refinery.com/orsonpdf/index.html

    Both of these GPLv3 and well tested via extensive usage in JFreeChart and Orson Charts.

提交回复
热议问题