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

# Factorio Runtime Docs Version 2.0.77

# VerticalTextAlign - Runtime Docs

## VerticalTextAlign :: union

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

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

#### Union members

`"top"` |
`"middle"` |
`"baseline"` |
`"bottom"` |

Concept used in

- LuaRenderObject::vertical_alignment
- LuaRendering::draw_text()