Scratch for Java

Stage::setTint()

Sets the colour the backdrop is tinted with.

Examples

View on GitHub

Syntax

Java

.setTint(r, g, b)
.setTint(h)

Parameters

Name Data Type Description
r double a red value [0...255]
g double a green value [0...255]
b double a blue value [0...255]
h double

Return

void

setTint()

Create Shareable URL

Select Sections