The image() function draws an image to the display window. Images must be in the sketch's "data" directory to load correctly. Select "Add file..." from the "Sketch" menu to add the image to the data directory, or just drag the image file onto the sketch window. Processing currently works with
(PImage img, float a, float b)
| 12109 | * @see PGraphics#alpha(int) |
| 12110 | */ |
| 12111 | public void image(PImage img, float a, float b) { |
| 12112 | if (recorder != null) recorder.image(img, a, b); |
| 12113 | g.image(img, a, b); |
| 12114 | } |
| 12115 | |
| 12116 | |
| 12117 | /** |