Text Alignment

txt-align

Controls the alignment of text within its bounding box for a video text overlay.

txt-align accepts comma-separated horizontal and vertical alignment values. Horizontal values: left, center, right. Vertical values: top, middle, bottom.

Use txt-align[N] to set alignment for a specific text layer.

This parameter works identically to txt-align in the Rendering API.

For the full list of text overlay parameters, see the Text Overlays overview.