horizontalAlignment
An option that controls the text’s horizontal placement within its bounding box.
Overview
The default value is center.
Horizontal Alignments
leftLeft-aligns each line of text.
centerCenter-aligns each line of text.
rightRight-aligns each line of text.
justifiedLeft- and right-aligns the text by adding additional spaces between words.
Declaration
token horizontalAlignment = "center" (
allowedTokens = ["left", "center", "right", "justified"]
)