Skip to content

Commit ba55afb

Browse files
authored
Link Enum.Font <-> Datatype.Font
1 parent 55fb5c3 commit ba55afb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

content/en-us/reference/engine/datatypes/Font.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ description: |
1414
`Datatype.Font` is used by the `Class.TextLabel.FontFace`,
1515
`Class.TextButton.FontFace`, and `Class.TextBox.FontFace` properties.
1616
17+
See Also:
18+
19+
- `Enum.Font`, an older alternative to this datatype that is required by some
20+
methods and properties. Please note that most fonts cannot be represented
21+
with this enum.
22+
1723
#### Font List
1824
1925
| Name | Asset ID | Weights |

content/en-us/reference/engine/enums/Font.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ summary: ''
44
description: |
55
The `Enum.Font` enum is used in `Class.TextBox`, `Class.TextLabel`, and
66
`Class.TextButton` to determine how the GUI element will render its text.
7+
8+
See Also:
9+
10+
- `Datatype.Font`, a newer alternative to this enum which encapsulates fonts
11+
as a datatype, and provides access to more fonts than this enum allows.
712
code_samples:
813
tags: []
914
deprecation_message: ''

0 commit comments

Comments
 (0)