DynamicFont
Inherits: Font < Resource < Reference < Object
Category: Core
Brief Description
Member Functions
void | add_fallback ( DynamicFontData data ) |
DynamicFontData | get_fallback ( int idx ) const |
int | get_fallback_count ( ) const |
DynamicFontData | get_font_data ( ) const |
int | get_size ( ) const |
int | get_spacing ( int type ) const |
bool | get_use_filter ( ) const |
bool | get_use_mipmaps ( ) const |
void | remove_fallback ( int idx ) |
void | set_fallback ( int idx, DynamicFontData data ) |
void | set_font_data ( DynamicFontData data ) |
void | set_size ( int data ) |
void | set_spacing ( int type, int value ) |
void | set_use_filter ( bool enable ) |
void | set_use_mipmaps ( bool enable ) |
Numeric Constants
- SPACING_TOP = 0
- SPACING_BOTTOM = 1
- SPACING_CHAR = 2
- SPACING_SPACE = 3
Member Function Description
void add_fallback ( DynamicFontData data )
DynamicFontData get_fallback ( int idx ) const
int get_fallback_count ( ) const
DynamicFontData get_font_data ( ) const
int get_size ( ) const
int get_spacing ( int type ) const
bool get_use_filter ( ) const
bool get_use_mipmaps ( ) const
void remove_fallback ( int idx )
void set_fallback ( int idx, DynamicFontData data )
void set_font_data ( DynamicFontData data )
void set_size ( int data )
void set_spacing ( int type, int value )
void set_use_filter ( bool enable )
void set_use_mipmaps ( bool enable )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_dynamicfont.html