Contents

horizontalAlignment

An option that controls the text’s horizontal placement within its bounding box.

Overview

The default value is center.

Horizontal Alignments

left

Left-aligns each line of text.

center

Center-aligns each line of text.

right

Right-aligns each line of text.

justified

Left- and right-aligns the text by adding additional spaces between words.

Declaration

token horizontalAlignment = "center" (
    allowedTokens = ["left", "center", "right", "justified"]
)

See Also

Properties