⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manypages.pde

📁 This is processing for java examples.
💻 PDE
字号:
/** * Many Pages.  *  * Saves a new page into a PDF file each loop through draw(). * Pressing the mouse finishes writing the file and exits the program. */import processing.pdf.*;PGraphicsPDF pdf;void setup() {  size(600, 600);  frameRate(4);  pdf = (PGraphicsPDF)beginRecord(PDF, "Lines.pdf");  beginRecord(pdf);}void draw() {  background(255);   stroke(0, 20);  strokeWeight(20.0);  line(mouseX, 0, width-mouseY, height);  pdf.nextPage();}void mousePressed() {  endRecord();  exit();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -