Scratch for Java

GifEncoder::setFrameRate()

Browser availability: desktop-only.

The encoder behind the desktop's GifRecorder; recording is desktop-only.

Sets frame rate in frames per second. Equivalent to setDelay(1000/fps).

Syntax

Java

.setFrameRate(fps)

Parameters

Name Data Type Description
fps float float frame rate (frames per second)

Return

void

setFrameRate()

Create Shareable URL

Select Sections