MCPcopy Index your code
hub / github.com/benfry/processing4 / settings

Method settings

core/src/processing/core/PApplet.java:933–936  ·  view source on GitHub ↗

The settings() function is new with Processing 3.0. It's not needed in most sketches. It's only useful when it's absolutely necessary to define the parameters to size() with a variable. Alternately, the settings() function is necessary when using Processing code outside the Proc

()

Source from the content-addressed store, hash-verified

931 * @see PApplet#smooth()
932 */
933 public void settings() {
934 // is this necessary? (doesn't appear to be, so removing)
935 //size(DEFAULT_WIDTH, DEFAULT_HEIGHT, JAVA2D);
936 }
937
938
939 final public int sketchWidth() {

Callers 1

handleSettingsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected