Skip to content

Conversation

@aamaliaa
Copy link

Adds a PDF export button and a textfield to allow the user to specify a filename.

I haven't been able to figure out how to maintain aspect ratios between each of the exports, unfortunately... I guess that's next...!

@hweinberger
Copy link

PDF Exports to a White Background, washes out lines and name details.

Any way to change export to black background?

@adamthede
Copy link

@hweinberger - In order to change the background color prior to the PDF export, you need to add a background color immediately following the beginRecord statement. As follows:

within void draw(){
...
if(record){
beginRecord(PDF, "pdfs/"+input.getText());
background(40); // 40 is a dark background color
}

Hope that helps!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants