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 25, 2026 at 6:23 AMEdit this page