Scratch for Java

Property::setText()

Multi-line strings are written as the element's text instead of a value attribute.

Syntax

Java

.setText(text)

Parameters

Name Data Type Description
text String the element text

Return

void

setText()

Create Shareable URL

Select Sections