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

Method quad

core/src/processing/core/PApplet.java:11379–11383  ·  view source on GitHub ↗

A quad is a quadrilateral, a four sided polygon. It is similar to a rectangle, but the angles between its edges are not constrained to ninety degrees. The first pair of parameters (x1,y1) sets the first vertex and the subsequent pairs should proceed clockwise or counter-clockwise around the defined

(float x1, float y1, float x2, float y2,
                   float x3, float y3, float x4, float y4)

Source from the content-addressed store, hash-verified

11377 * @param y4 y-coordinate of the fourth corner
11378 */
11379 public void quad(float x1, float y1, float x2, float y2,
11380 float x3, float y3, float x4, float y4) {
11381 if (recorder != null) recorder.quad(x1, y1, x2, y2, x3, y3, x4, y4);
11382 g.quad(x1, y1, x2, y2, x3, y3, x4, y4);
11383 }
11384
11385
11386 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected