MCPcopy Index your code
hub / github.com/benfry/processing4 / rect

Method rect

core/src/processing/core/PApplet.java:11446–11449  ·  view source on GitHub ↗

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. The way these parameters are interpreted, however, may be c

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

Source from the content-addressed store, hash-verified

11444 * @see PGraphics#quad(float, float, float, float, float, float, float, float)
11445 */
11446 public void rect(float a, float b, float c, float d) {
11447 if (recorder != null) recorder.rect(a, b, c, d);
11448 g.rect(a, b, c, d);
11449 }
11450
11451
11452 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected