Hello,
A related topic:
https://discourse.processing.org/t/how-do-i-get-my-pdf-to-render-properly/37349/5
Try this:
import processing.pdf.*;
String fileName;
void setup()
{
size(400, 400);
fileName = "output/" + day()+hour()+minute() + "-###.pdf";
//noStroke();
//fill(0);
beginRecord(PDF, fileName);
noStroke(); // Moved to here
fill(0); // Moved to here
background(255);
circle(200, 200, 50);
endRecord();
}
:)