Scratch for Java

ExtensionContext::afterFrame()

Browser availability: desktop-only.

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

After a frame was drawn, on the window thread.

Syntax

Java

.afterFrame(hook)

Parameters

Name Data Type Description
hook BiConsumer<Stage, Frame>

Return

void

afterFrame()

Create Shareable URL

Select Sections