Adding the createXxx() methods

This commit is contained in:
codeanticode
2011-10-27 00:03:01 +00:00
parent 29207cdd52
commit 7779eed56a
2 changed files with 22 additions and 0 deletions
+11
View File
@@ -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);
}
//////////////////////////////////////////////////////////////
+11
View File
@@ -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;