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

Method imageMode

core/src/processing/core/PApplet.java:12073–12076  ·  view source on GitHub ↗

Modifies the location from which images are drawn by changing the way in which parameters given to image() are interpreted. The default mode is imageMode(CORNER) , which interprets the second and third parameters of image() as the upper-left corner of the image. If t

(int mode)

Source from the content-addressed store, hash-verified

12071 * @see PGraphics#background(float, float, float, float)
12072 */
12073 public void imageMode(int mode) {
12074 if (recorder != null) recorder.imageMode(mode);
12075 g.imageMode(mode);
12076 }
12077
12078
12079 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected