Skip to content

Canvas

Canvas

render

render(target=None)

Render the canvas to the specified target. If no target is specified, return a raw image as bytes.

Parameters:

target:

Filename of the target