mirror of
https://github.com/processing/processing4.git
synced 2026-05-07 19:33:27 +02:00
clear() method auto-added to PApplet
This commit is contained in:
@@ -9201,6 +9201,11 @@ public class PApplet extends Activity implements PConstants, Runnable {
|
||||
}
|
||||
|
||||
|
||||
public void clear() {
|
||||
g.clear();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Takes an RGB or ARGB image and sets it as the background.
|
||||
* The width and height of the image must be the same size as the sketch.
|
||||
|
||||
@@ -14284,6 +14284,12 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
|
||||
public void clear() {
|
||||
if (recorder != null) recorder.clear();
|
||||
g.clear();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Takes an RGB or ARGB image and sets it as the background.
|
||||
* The width and height of the image must be the same size as the sketch.
|
||||
|
||||
@@ -3,9 +3,12 @@ X remove extra separator at the top of the Help menu on Windows and Linux
|
||||
X MovieMaker tool will not start on Windows 8
|
||||
X make a little less fragile by not launching as separate process
|
||||
X http://code.google.com/p/processing/issues/detail?id=1447
|
||||
X clean up the code and interface for the Movie Maker tool
|
||||
X http://code.google.com/p/processing/issues/detail?id=836
|
||||
X on Windows, the Help menu seems to start with a separator
|
||||
|
||||
_ on Windows, the Help menu seems to start with a separator
|
||||
|
||||
_ add 6u37 as the Java runtime
|
||||
_ add bootclasspath for 1.6
|
||||
|
||||
https://processing-js.lighthouseapp.com/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user