standard.settings.center

getElement(id).settings.center()

Makes the element appear centered on the horizontal axis.

Example:

[js highlight=”2″ try=”true”]
newText(“helloworld”, “Hello world”)
.settings.center()
.print()
[/js]

Prints Hello world onto the screen, horizontally centered.