setCenter

Set the text Align to be center, and define the x position of the text

Return

this

Parameters

x

the x pixel position of the text