get_surface()#

Get the Py5Surface object used for the Sketch.

Examples#

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

Description#

Get the Py5Surface object used for the Sketch.

Underlying Processing method: getSurface

Syntax#

get_surface() -> Py5Surface

Updated on November 12, 2021 11:30:58am UTC