get_surface()

get_surface()#

Get the Py5Surface object used for the Sketch.

Examples#

py5.run_sketch(block=False)
surface = py5.get_surface()

Description#

Get the Py5Surface object used for the Sketch.

Underlying Processing method: getSurface

Signatures#

get_surface() -> Py5Surface

Updated on March 06, 2023 02:49:26am UTC