mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Updates to the PShape reference for 2
This commit is contained in:
@@ -10791,6 +10791,10 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @webref shape
|
||||
* @param filename name of file to load, can be .svg or .obj
|
||||
*/
|
||||
public PShape loadShape(String filename) {
|
||||
return g.loadShape(filename);
|
||||
}
|
||||
|
||||
@@ -1620,7 +1620,10 @@ public class PGraphics extends PImage implements PConstants {
|
||||
|
||||
// SHAPE I/O
|
||||
|
||||
|
||||
/**
|
||||
* @webref shape
|
||||
* @param filename name of file to load, can be .svg or .obj
|
||||
*/
|
||||
public PShape loadShape(String filename) {
|
||||
showMissingWarning("loadShape");
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user