Describes a VisualElement font.
| Property | Description |
|---|---|
| font | Font to use to display text. You cannot set this and FontDefinition.fontAsset at the same time. |
| fontAsset | SDF font to use to display text. You cannot set this and FontDefinition.font at the same time. |
| Method | Description |
|---|---|
| FromFont | Create a FontDefinition from Font. |
| FromSDFFont | Create a FontDefinition from FontAsset. |