classref: Sync with current master branch (bd2300d)

This commit is contained in:
Godot Organization
2024-05-18 03:20:15 +00:00
parent abda5a1cfa
commit 530089d14d
13 changed files with 2342 additions and 210 deletions
+17
View File
@@ -23,6 +23,23 @@ Description
**TextServer** is the API backend for managing fonts and rendering text.
\ **Note:** This is a low-level API, consider using :ref:`TextLine<class_TextLine>`, :ref:`TextParagraph<class_TextParagraph>`, and :ref:`Font<class_Font>` classes instead.
This is an abstract class, so to get the currently active **TextServer** instance, use the following code:
.. tabs::
.. code-tab:: gdscript
var ts = TextServerManager.get_primary_interface()
.. code-tab:: csharp
var ts = TextServerManager.GetPrimaryInterface();
.. rst-class:: classref-reftable-group
Methods