diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2021-11-20 20:47:01 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2021-11-20 20:47:01 +0300 |
commit | 753d677343cc8b2ee6cc63a7525ef4a9dab4ef06 (patch) | |
tree | 898804be17ea358ddbead74b377ec674b2bcd915 /doc | |
parent | 4ea87f36cd23494bfbde800b436467d3d0f82b52 (diff) |
Expose `FontData::{set,get}_fixed_size` methods
Diffstat (limited to 'doc')
-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" /> |