Update for 2.0 reference, including edits to source files

This commit is contained in:
Casey Reas
2012-09-12 05:17:16 +00:00
parent 5d4b6f229f
commit 252ce74acf
4 changed files with 44 additions and 11 deletions

View File

@@ -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