Scratch for Java

GifRecorder::snapshot()

Browser availability: desktop-only.

This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.

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

snapshot()

Create Shareable URL

Select Sections