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

Method rect

core/src/processing/core/PApplet.java:12141–12144  ·  view source on GitHub ↗

( begin auto-generated from rect.xml ) Draws a rectangle to the screen. A rectangle is a four-sided shape with every angle at ninety degrees. By default, the first two parameters set the location of the upper-left corner, the third sets the width, and the fourth sets the height. These parameters ma

(float a, float b, float c, float d)

Source from the content-addressed store, hash-verified

12139 * @see PGraphics#quad(float, float, float, float, float, float, float, float)
12140 */
12141 public void rect(float a, float b, float c, float d) {
12142 if (recorder != null) recorder.rect(a, b, c, d);
12143 g.rect(a, b, c, d);
12144 }
12145
12146
12147 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected