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

Method rectMode

core/src/processing/core/PApplet.java:12116–12119  ·  view source on GitHub ↗

( begin auto-generated from rectMode.xml ) Modifies the location from which rectangles draw. The default mode is rectMode(CORNER) , which specifies the location to be the upper left corner of the shape and uses the third and fourth parameters of rect() to specify the width and height.

(int mode)

Source from the content-addressed store, hash-verified

12114 * @see PGraphics#rect(float, float, float, float)
12115 */
12116 public void rectMode(int mode) {
12117 if (recorder != null) recorder.rectMode(mode);
12118 g.rectMode(mode);
12119 }
12120
12121
12122 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected