MCPcopy Create free account
hub / github.com/benfry/processing4 / loadShape

Method loadShape

core/src/processing/core/PGraphics.java:1755–1757  ·  view source on GitHub ↗

Loads geometry into a variable of type PShape . SVG and OBJ files may be loaded. To load correctly, the file must be located in the data directory of the current sketch. In most cases, loadShape() should be used inside setup() because loading shapes inside draw() will redu

(String filename)

Source from the content-addressed store, hash-verified

1753 * @see PApplet#createShape()
1754 */
1755 public PShape loadShape(String filename) {
1756 return loadShape(filename, null);
1757 }
1758
1759
1760 /**

Callers

nothing calls this directly

Calls 1

showMissingWarningMethod · 0.95

Tested by

no test coverage detected