GifRecorder::snapshot()
Captures a snapshot and saves it as a GIF. This method starts the GIF encoder, saves the current frame, and then finishes the encoding process.
Syntax
Java
.snapshot()
Return
void

Captures a snapshot and saves it as a GIF. This method starts the GIF encoder, saves the current frame, and then finishes the encoding process.
.snapshot()
void