Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

ExtensionContext::addLayerDrawer()

Browser availability: desktop-only.

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

Draws into a layer every frame, after the layer's canvas and before its sprites: map tiles, drawings. Game thread, when the draw list is made.

Syntax

Java

.addLayerDrawer(layer, drawer)

Parameters

Name Data Type Description
layer Layer
drawer LayerDrawer

Return

void

addLayerDrawer()

Teilbare URL erstellen

Abschnitte auswählen