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. See the PImage reference for more information. <b
(int w, int h, int format)
| 2004 | * @see PGraphics |
| 2005 | */ |
| 2006 | public PImage createImage(int w, int h, int format) { |
| 2007 | PImage image = new PImage(w, h, format); |
| 2008 | image.parent = this; // make save() work |
| 2009 | return image; |
| 2010 | } |
| 2011 | |
| 2012 | |
| 2013 | ////////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected