rojo/.cursor/rules/roblox/reference/engine/enums/TextYAlignment.yaml
2026-02-02 12:08:47 -06:00

37 lines
1,001 B
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: TextYAlignment
type: enum
summary: |
Determines vertical alignment of text.
description: |
Determines vertical alignment of text.
Used by `Class.TextLabel.TextYAlignment|TextLabel`,
`Class.TextButton.TextYAlignment|TextButton`, and
`Class.TextBox.TextYAlignment|TextBox`.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: Top
summary: |
Alignment starts at the top of the GUI object.
value: 0
tags: []
deprecation_message: ''
- name: Center
summary: |
Aligned starts at the center of the GUI object and spreads equally toward
the top and bottom.
value: 1
tags: []
deprecation_message: ''
- name: Bottom
summary: |
Alignment starts at the bottom of the GUI object.
value: 2
tags: []
deprecation_message: ''