( begin auto-generated from createImage.xml ) Creates a new PImage (the datatype for storing images). This provides a fresh buffer of pixels to play with. Set the size of the buffer with the width and height parameters. The format parameter defines how the pixels are stored. Se
(int w, int h, int format)
| 2375 | * @see PGraphics |
| 2376 | */ |
| 2377 | public PImage createImage(int w, int h, int format) { |
| 2378 | PImage image = new PImage(w, h, format); |
| 2379 | image.parent = this; // make save() work |
| 2380 | return image; |
| 2381 | } |
| 2382 | |
| 2383 | |
| 2384 | ////////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected