System variable that stores the width of the Py5Graphics drawing surface.
System variable that stores the width of the Py5Graphics drawing surface. This value is set when creating the
Py5Graphics object with the create_graphics() method. For example,
create_graphics(320, 240) sets the
width variable to the value 320.
This field is the same as width but linked to a
Py5Graphics object. To see example code for how it can be used, see width.
Underlying Processing field: PGraphics.width
Updated on August 25, 2022 20:01:47pm UTC