Scratch for Java

LayerDrawer::draw()

Browser availability: desktop-only.

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

Syntax

Java

.draw(stage, canvas)

Parameters

Name Data Type Description
stage Stage
canvas Canvas

Return

void

draw()

Create Shareable URL

Select Sections