This API is experimental
Its behavior may change in a future version of p5.js.
Starts capturing drawing commands into this shape container.
Options:
draw(Boolean, optional): Iftrue, drawing commands will be drawn onto the canvas in addition to being recorded. Iffalse(default), commands are recorded silently without rendering.
Examples
Syntax
begin([options])
Parameters
options
Object: recording options.
Notice any errors or typos? Please let us know. Please feel free to edit src/shape/svg/svg_export.js and open a pull request!