arcade2d
Type Alias

TextAlign

graphics/text.types.ts:10

Horizontal alignment for the lines inside a Text. Mirrors the canvas-text aligns the renderer accepts, narrowed to the three values that make sense for left-to-right Latin scripts. The setting only affects multi-line text — a single-line string ignores it.

'left' | 'center' | 'right'
ESC