Inherits: Resource < Reference < Object
Used with DynamicFont to describe the location of a font file.
Used with DynamicFont to describe the location of a vector font file for dynamic rendering at runtime.
| bool | antialiased | true |
| String | font_path | "" |
| Hinting | hinting | 2 |
enum Hinting:
| Default | true |
| Setter | set_antialiased(value) |
| Getter | is_antialiased() |
If true, the font is rendered with anti-aliasing. This property applies both to the main font and its outline (if it has one).
| Default | "" |
| Setter | set_font_path(value) |
| Getter | get_font_path() |
The path to the vector font file.
| Default | 2 |
| Setter | set_hinting(value) |
| Getter | get_hinting() |
The font hinting mode used by FreeType. See Hinting for options.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_dynamicfontdata.html