( 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)
| 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 | /** |