snap

Captures the drawing commands accumulated since the previous call to snap.

The recorder is reset and ready to record new commands after this call.

Return

a recording containing the captured commands.