Enum
Enum.FontSize
Specifies preset font sizes for text-rendering UI objects such as TextLabel, TextButton, and TextBox. Prefer the TextSize property instead of this deprecated enum.
| Item | Value | Summary |
|---|---|---|
| Enum.FontSize.Size8 | 0 | Font size 8. |
| Enum.FontSize.Size9 | 1 | Font size 9. |
| Enum.FontSize.Size10 | 2 | Font size 10. |
| Enum.FontSize.Size11 | 3 | Font size 11. |
| Enum.FontSize.Size12 | 4 | Font size 12. |
| Enum.FontSize.Size14 | 5 | Font size 14. |
| Enum.FontSize.Size18 | 6 | Font size 18. |
| Enum.FontSize.Size24 | 7 | Font size 24. |
| Enum.FontSize.Size36 | 8 | Font size 36. |
| Enum.FontSize.Size48 | 9 | Font size 48. |
| Enum.FontSize.Size28 | 10 | Font size 28. |
| Enum.FontSize.Size32 | 11 | Font size 32. |
| Enum.FontSize.Size42 | 12 | Font size 42. |
| Enum.FontSize.Size60 | 13 | Font size 60. |
| Enum.FontSize.Size96 | 14 | Font size 96. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.