bring back getImage() to fix #4473

This commit is contained in:
Ben Fry
2016-08-12 21:34:50 -04:00
parent 0e603a151a
commit 2c0c1b9a36
4 changed files with 14 additions and 8 deletions

View File

@@ -253,6 +253,16 @@ public class PGraphicsJava2D extends PGraphics {
}
/**
* Still need a means to get the java.awt.Image object, since getNative()
* is going to return the {@link Graphics2D} object.
*/
@Override
public Image getImage() {
return image;
}
/** Returns the java.awt.Graphics2D object used by this renderer. */
@Override
public Object getNative() {