Scratch for Java

Text::setAlign()

Sets the alignment of the text.

Syntax

Java

.setAlign(align)

Parameters

Name Data Type Description
align int the alignment value to set. This could be a constant representing left, center, or right alignment.

Return

void

setAlign()