MCPcopy Index your code
hub / github.com/processing/processing / imageMode

Method imageMode

core/src/processing/core/PApplet.java:12768–12771  ·  view source on GitHub ↗

( begin auto-generated from imageMode.xml ) Modifies the location from which images draw. The default mode is imageMode(CORNER) , which specifies the location to be the upper left corner and uses the fourth and fifth parameters of image() to set the image's width and height. The syntax

(int mode)

Source from the content-addressed store, hash-verified

12766 * @see PGraphics#background(float, float, float, float)
12767 */
12768 public void imageMode(int mode) {
12769 if (recorder != null) recorder.imageMode(mode);
12770 g.imageMode(mode);
12771 }
12772
12773
12774 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected