end_shape() function is the companion to Py5Graphics.begin_shape() and may only be called after Py5Graphics.begin_shape(). When
end_shape() is called, all of image data defined since the previous call to Py5Graphics.begin_shape() is written into the image buffer. The constant
CLOSE as the value for the
MODE parameter to close the shape (to connect the beginning and the end).
Underlying Java method: PGraphics.endShape
end_shape() -> None end_shape(mode: int, /) -> None
mode: int - use CLOSE to close the shape
Updated on September 11, 2021 16:51:34pm UTC