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

Method rectMode

core/src/processing/core/PGraphics.java:2562–2564  ·  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

2560 * @see PGraphics#rect(float, float, float, float)
2561 */
2562 public void rectMode(int mode) {
2563 rectMode = mode;
2564 }
2565
2566
2567 /**

Callers 2

defaultSettingsMethod · 0.95
styleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected