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

Method shape

core/src/processing/opengl/PGraphics2D.java:187–195  ·  view source on GitHub ↗
(PShape shape)

Source from the content-addressed store, hash-verified

185
186
187 @Override
188 public void shape(PShape shape) {
189 if (shape.is2D()) {
190 super.shape(shape);
191 } else {
192 showWarning("The shape object is not 2D, cannot be displayed with " +
193 "this renderer");
194 }
195 }
196
197
198 @Override

Callers

nothing calls this directly

Calls 3

is2DMethod · 0.45
showWarningMethod · 0.45
showDepthWarningXYZMethod · 0.45

Tested by

no test coverage detected