Scratch for Java

Text::getWidth()

Returns the width of the text.

Syntax

Java

.getWidth()

Return

double

getWidth()