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

Method texture

core/src/processing/core/PShape.java:599–606  ·  view source on GitHub ↗
(PImage tex)

Source from the content-addressed store, hash-verified

597 }
598
599 public void texture(PImage tex) {
600 if (!openShape) {
601 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "texture()");
602 return;
603 }
604
605 image = tex;
606 }
607
608 public void noTexture() {
609 if (!openShape) {

Callers 5

rawPolysMethod · 0.45
rawSortedPolysMethod · 0.45
textCharModelImplMethod · 0.45
filterMethod · 0.45
copyImageMethod · 0.45

Calls 1

showWarningMethod · 0.95

Tested by

no test coverage detected