Sets a texture to be applied to vertex points.
Sets a texture to be applied to vertex points. The
texture() method must be called between Py5Graphics.begin_shape() and Py5Graphics.end_shape() and before any calls to Py5Graphics.vertex(). This method only works with the
When textures are in use, the fill color is ignored. Instead, use Py5Graphics.tint() to specify the color of the texture as it is applied to the shape.
Underlying Java method: PGraphics.texture
texture(image: Py5Image, /) -> None
image: Py5Image - reference to a Py5Image object
Updated on September 11, 2021 16:51:34pm UTC