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

Method createShape

core/src/processing/core/PGraphics.java:1769–1773  ·  view source on GitHub ↗

@webref shape @see PShape @see PShape#endShape() @see PApplet#loadShape(String)

()

Source from the content-addressed store, hash-verified

1767 * @see PApplet#loadShape(String)
1768 */
1769 public PShape createShape() {
1770 // Defaults to GEOMETRY (rather than GROUP like the default constructor)
1771 // because that's how people will use it within a sketch.
1772 return createShape(PShape.GEOMETRY);
1773 }
1774
1775
1776 // POINTS, LINES, TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP, QUADS, QUAD_STRIP

Callers

nothing calls this directly

Calls 4

createShapeFamilyMethod · 0.95
is3DMethod · 0.95
is2DMethod · 0.95
createShapePrimitiveMethod · 0.95

Tested by

no test coverage detected