> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/textyalignment.md).

# TextYAlignment

## Overview

TextYAlignment is an Enum that specifies the vertical alignment style of text.

This is used in the TextYAlignment properties of TextLabel and TextButton, and determines where text is placed within the element: top, center, and bottom.

## Items

| Name   | Value | Description                           |
| ------ | ----- | ------------------------------------- |
| Top    | 0     | Aligns text to the top.               |
| Center | 1     | Aligns text to the center vertically. |
| Bottom | 2     | Aligns text to the bottom.            |

## See also

{% content-ref url="/pages/CTjPyf13rS5gpJ0zxpMp" %}
[TextButton](/development/api-reference/classes/textbutton.md)
{% endcontent-ref %}

{% content-ref url="/pages/zjNQugnDrMlHZqOsy4VP" %}
[TextLabel](/development/api-reference/classes/textlabel.md)
{% endcontent-ref %}
