Scratch for Java

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

Canvas::setOpacity()

Browser availability: desktop-only.

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

Syntax

Java

.setOpacity(opacity)

Parameters

Name Data Type Description
opacity double how opaque what follows is drawn, 0 to 1

Return

void

setOpacity()

Teilbare URL erstellen

Abschnitte auswählen