Provides the interface for recording drawing commands and snapping them into a Recording.
A recorder is intended to be used from one thread and is not thread-safe. Different recorders can be used on different threads.
Captures the drawing commands accumulated since the previous call to snap.
snap