Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# TextAlign - Runtime Docs

## TextAlign :: union

The text is aligned so that the target position is at the given side of the text.

For example, `"right"` aligned text means the right side of the text is at the target position. Or in other words, the target is on the right of the text.

#### Union members

`"left"` |
`"right"` |
`"center"` |

Concept used in

- LuaRenderObject::alignment
- LuaRendering::draw_text()