mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
54 lines
1.8 KiB
ReStructuredText
54 lines
1.8 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the DynamicFontData.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_DynamicFontData:
|
|
|
|
DynamicFontData
|
|
===============
|
|
|
|
**Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
Used with :ref:`DynamicFont<class_dynamicfont>` to describe the location of a font file.
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+------------------------------+----------------------------------------------------------------------------------------------------------+
|
|
| :ref:`String<class_string>` | :ref:`get_font_path<class_DynamicFontData_get_font_path>` **(** **)** const |
|
|
+------------------------------+----------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_font_path<class_DynamicFontData_set_font_path>` **(** :ref:`String<class_string>` path **)** |
|
|
+------------------------------+----------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
- :ref:`String<class_string>` **font_path** - The path to the vector font file.
|
|
|
|
Description
|
|
-----------
|
|
|
|
Used with :ref:`DynamicFont<class_dynamicfont>` to describe the location of a vector font file for dynamic rendering at runtime.
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_DynamicFontData_get_font_path:
|
|
|
|
- :ref:`String<class_string>` **get_font_path** **(** **)** const
|
|
|
|
Returns the font path.
|
|
|
|
.. _class_DynamicFontData_set_font_path:
|
|
|
|
- void **set_font_path** **(** :ref:`String<class_string>` path **)**
|
|
|
|
Sets the font path.
|
|
|
|
|