summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-22 12:23:41 +0100
committerGitHub <noreply@github.com>2021-11-22 12:23:41 +0100
commit70d530029a8bdb1ca9840f2aaa32de04f5d69521 (patch)
treeea4331f9acc4b39c06d7f3823b8edd6545059770 /doc
parent2b287509eb742580d741a45f3aa88e7ad5de98ee (diff)
parent753d677343cc8b2ee6cc63a7525ef4a9dab4ef06 (diff)
Merge pull request #55171 from dalexeev/font-data-set-fixed-size
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/FontData.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/classes/FontData.xml b/doc/classes/FontData.xml
index ccfe861c92..c403d238c5 100644
--- a/doc/classes/FontData.xml
+++ b/doc/classes/FontData.xml
@@ -93,6 +93,12 @@
Returns font descent (number of pixels below the baseline).
</description>
</method>
+ <method name="get_fixed_size" qualifiers="const">
+ <return type="int" />
+ <description>
+ Returns font fixed size.
+ </description>
+ </method>
<method name="get_font_name" qualifiers="const">
<return type="String" />
<description>
@@ -481,6 +487,13 @@
Sets the font descent (number of pixels below the baseline).
</description>
</method>
+ <method name="set_fixed_size">
+ <return type="void" />
+ <argument index="0" name="fixed_size" type="int" />
+ <description>
+ Sets the fixed size for the font.
+ </description>
+ </method>
<method name="set_font_name">
<return type="void" />
<argument index="0" name="name" type="String" />