Scratch for Java

Text::setWidth()

Sets the width of the text.

Syntax

Java

.setWidth(width)

Parameters

Name Data Type Description
width double the new width to set

Return

void

setWidth()