Scratch for Java

Text::setX()

Sets the x-coordinate for this object.

Syntax

Java

.setX(x)

Parameters

Name Data Type Description
x double the new x-coordinate value

Return

void

setX()