This is an old documentation. Go to the latest Customer's Canvas docs

TextAlignment Enumeration

Text alignment types.

See an example.

Enumeration members

Center

Center: = "center"

Align text along the center.

Justify

Justify: = "justify"

Align text along both the left and right edges.

LastCenter

LastCenter: = "lastCenter"

Justify text and center its last line.

LastLeft

LastLeft: = "lastLeft"

Justify text and align its last line to the left.

LastRight

LastRight: = "lastRight"

Justify text and align its last line to the right.

Left

Left: = "left"

Align text along the left edge.