mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
more example moving
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import processing.pdf.*; // Import PDF code
|
||||
|
||||
size(600, 600, PDF, "line.pdf"); // Set PDF as the renderer
|
||||
background(255);
|
||||
stroke(0);
|
||||
line(200, 0, width/2, height); // Draw line to PDF
|
||||
exit(); // Stop the program
|
||||
Reference in New Issue
Block a user