Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can multiple graphics be saved in a single PDF file? #73

Open
Mr14huashao opened this issue Nov 14, 2019 · 3 comments
Open

Can multiple graphics be saved in a single PDF file? #73

Mr14huashao opened this issue Nov 14, 2019 · 3 comments

Comments

@Mr14huashao
Copy link

Graphics2D vg2d_1 = new VectorGraphics2D();
//  plotcontent 

Graphics2D vg2d_2 = new VectorGraphics2D();
// plotcontent

Processor pdfProcessor = Processors.get("pdf");
//  Can I write vg2d_1 and vg2d_2 in the same pdf file?
// ...
@Mr14huashao
Copy link
Author

Like this, apicture, a page.

Screenshot_2019-11-16_16-53-19

@eseifert
Copy link
Owner

Unfortunately, there is no support for pages in the Graphics2D interface of Java. That’s why VectorGraphics2D also does not support this at the moment.

It’s on my list of planned features, but I don’t have any time frame yet. I will leave this issue open to track the progress.

@Mr14huashao
Copy link
Author

@eseifert
Thank you very much for your reply.
I am looking forward to this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants