I haven't tried this, so apologies if it doesn't work. You can't do it directly, but you can access textHeight and textWidth of the actual displayed text.
So if you want to set it at position(x,y) anchored centrally and it is anchored at (say) top/left you can do this by subtracting textWidth/2 from the x position and textHeight/2 from the y position