diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-22 12:23:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 12:23:41 +0100 |
commit | 70d530029a8bdb1ca9840f2aaa32de04f5d69521 (patch) | |
tree | ea4331f9acc4b39c06d7f3823b8edd6545059770 /doc/classes | |
parent | 2b287509eb742580d741a45f3aa88e7ad5de98ee (diff) | |
parent | 753d677343cc8b2ee6cc63a7525ef4a9dab4ef06 (diff) |
Merge pull request #55171 from dalexeev/font-data-set-fixed-size
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/FontData.xml | 13 |
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" /> |