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 13, 2026 at 9:17 AMEdit this page