Enums
TextAlign
Where the lines of a text sit horizontally relative to its position.
Enum enum pins
TextAlign places each line of a Text relative to the text's position. In the property inspector, it's a drop-down list.
Values
startcenterend
Notes
start(the default): lines begin at the position and run to the right.center: lines are centered on the position.end: lines end at the position.
Each line is aligned on its own, so lines of different lengths line up on their left edge, their middle or their right edge.
Related types
- TextAnchor, for the vertical placement.
- Text.