mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
add getImage() back to PImage (issue #1223)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user