tx.center()
Syntax
center(x=0.0, y=0.0)
Description
Defines a center of gravity for a paragraph(). This powerful feature defines a point from which to nudge() text. At the top left, characters' letterspacing and shiver() will increase as they are further to the right, and linespacing increases line after line.
The gravity point is set relative: x=0.5 means halfway along the paragraph width.
Nudging from the center of a paragraph, characters near the edge have a bigger letterspacing and bigger shiver, and the top lines and bottom lines have bigger linespacing and shiver.