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

Method shapeMode

core/src/processing/core/PGraphics.java:3980–3982  ·  view source on GitHub ↗

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

(int mode)

Source from the content-addressed store, hash-verified

3978 * @see PGraphics#rectMode(int)
3979 */
3980 public void shapeMode(int mode) {
3981 this.shapeMode = mode;
3982 }
3983
3984
3985 public void shape(PShape shape) {

Callers 1

styleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected