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 Processing method: PGraphics.texture
texture( image: Py5Image, # reference to a Py5Image object /, ) -> None
Updated on September 01, 2022 14:08:27pm UTC