mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Adding the createXxx() methods
This commit is contained in:
@@ -5056,7 +5056,18 @@ public class PApplet extends Applet
|
||||
return outgoing;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
// SHAPE CREATION
|
||||
|
||||
public PShape createGroup() {
|
||||
return g.createGroup();
|
||||
}
|
||||
|
||||
public PShape createGeometry(int kind) {
|
||||
return g.createGeometry(kind);
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
@@ -7358,6 +7358,17 @@ public class PGraphics extends PImage implements PConstants {
|
||||
|
||||
// New API:
|
||||
|
||||
public PShape createGroup() {
|
||||
showMissingWarning("createGroup");
|
||||
return null;
|
||||
}
|
||||
|
||||
public PShape createGeometry(int kind) {
|
||||
showMissingWarning("createGeometry");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
protected String[] getSupportedShapeFormats() {
|
||||
showMissingWarning("getSupportedShapeFormats");
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user