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

Method quad

core/src/processing/core/PApplet.java:12085–12089  ·  view source on GitHub ↗

( begin auto-generated from quad.xml ) 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

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

Source from the content-addressed store, hash-verified

12083 * @param y4 y-coordinate of the fourth corner
12084 */
12085 public void quad(float x1, float y1, float x2, float y2,
12086 float x3, float y3, float x4, float y4) {
12087 if (recorder != null) recorder.quad(x1, y1, x2, y2, x3, y3, x4, y4);
12088 g.quad(x1, y1, x2, y2, x3, y3, x4, y4);
12089 }
12090
12091
12092 /**

Callers 1

drawPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected