mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
Update for 2.0 reference, including edits to source files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
PGraphics big; // Declare a PGraphics variable
|
||||
|
||||
void setup() {
|
||||
big = createGraphics(3000, 3000, JAVA2D); // Create a new PGraphics object
|
||||
big = createGraphics(3000, 3000); // Create a new PGraphics object
|
||||
big.beginDraw(); // Start drawing to the PGraphics object
|
||||
big.background(128); // Set the background
|
||||
big.line(20, 1800, 1800, 900); // Draw a line
|
||||
|
||||
Reference in New Issue
Block a user