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

Method createShapePrimitive

core/src/processing/core/PGraphics.java:1912–1916  ·  view source on GitHub ↗

Override this to have a custom shape object used by your renderer.

(int kind, float... p)

Source from the content-addressed store, hash-verified

1910
1911 /** Override this to have a custom shape object used by your renderer. */
1912 protected PShape createShapePrimitive(int kind, float... p) {
1913// showMethodWarning("createShape()");
1914// return null;
1915 return new PShape(this, kind, p);
1916 }
1917
1918
1919

Callers 1

createShapeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected