add getImage() back to PImage (issue #1223)

This commit is contained in:
benfry
2012-09-10 18:16:09 +00:00
parent 35a533c845
commit ea9dedef16
2 changed files with 9 additions and 0 deletions

View File

@@ -14437,6 +14437,14 @@ public class PApplet extends Applet
}
public Image getImage() {
return g.getImage();
}
/**
* Returns a native BufferedImage from this PImage.
*/
public Object getNative() {
return g.getNative();
}

View File

@@ -5,6 +5,7 @@ X http://code.google.com/p/processing/issues/detail?id=1225
X double check that new key and mouse events are being addressed correctly
X restore deprecated versions of getFont() and getImage()
X Android getBitmap() and getTypeface() will not be restored
X http://code.google.com/p/processing/issues/detail?id=1223
_ remove subsetting stuff from PFont?