Captures the drawing commands accumulated since the previous call to snap.
snap
The recorder is reset and ready to record new commands after this call.
a recording containing the captured commands.