mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Basic reference updates for 2b6, script added to fix Libraries and Tools list
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* Create Graphics.
|
||||
*
|
||||
* The createGraphics() function creates an object from the PGraphics class
|
||||
* (PGraphics is the main graphics and rendering context for Processing).
|
||||
* PGraphics is the main graphics and rendering context for Processing.
|
||||
* The beginDraw() method is necessary to prepare for drawing and endDraw() is
|
||||
* necessary to finish. Use this class if you need to draw into an off-screen
|
||||
* graphics buffer or to maintain two contexts with different properties.
|
||||
@@ -29,5 +29,6 @@ void draw() {
|
||||
pg.ellipse(mouseX-120, mouseY-60, 60, 60);
|
||||
pg.endDraw();
|
||||
|
||||
// Draw the offscreen buffer to the screen with image()
|
||||
image(pg, 120, 60);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user