center()
Sets the text alignment to center.
center(): this;
Notes
- Shorthand for
textAlign("center").
Related
class TextBuilder static
A builder class for creating UIText instances.
Sets the text alignment to center.
center(): this;
textAlign("center").