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

📄 saveoneimage.pde

📁 This is processing for java examples.
💻 PDE
字号:
/** * Save One Image *  * The save() function allows you to save an image from the  * display window. In this example, save() is run when a mouse * button is pressed. The image "line.tif" is saved to the  * same folder as the sketch's program file. */void setup() {  size(200, 200);}void draw() {  background(204);  line(0, 0, mouseX, height);  line(width, 0, 0, mouseY);}void mousePressed() {  save("line.tif");}

⌨️ 快捷键说明

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