TextLayer.alignment

Horizontal alignment of the text.

TextLayer.alignment property

Horizontal alignment of the text.

Signature:

alignment: TextAlignment;

Type: TextAlignment

Example

textLayer.alignment = "center";
Last updated: August 5, 2026 at 11:47 AMEdit this page