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

Method texture

core/src/processing/core/PGraphics.java:1374–1376  ·  view source on GitHub ↗

( begin auto-generated from texture.xml ) Sets a texture to be applied to vertex points. The texture() function must be called between beginShape() and endShape() and before any calls to vertex() . When textures are in use, the fill color is ignored. Instead,

(PImage image)

Source from the content-addressed store, hash-verified

1372 * @see PGraphics#vertex(float, float, float, float, float)
1373 */
1374 public void texture(PImage image) {
1375 textureImage = image;
1376 }
1377
1378
1379 /**

Callers 2

rawPolysMethod · 0.95
imageImplMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected