largepage.pde
来自「This is processing for java examples.」· PDE 代码 · 共 31 行
PDE
31 行
/** * Large Page. * * Saves one frame as a PDF with a size larger * than the screen. When PDF is used as the renderer * (the third parameter of size) the display window * does not open. The file is saved to the sketch folder. */import processing.pdf.*;void setup() { size(2000, 2000, PDF, "Line.pdf");}void draw() { background(255); stroke(0, 20); strokeWeight(20.0); line(200, 0, width/2, height); exit(); // Quit the program}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?