diff options
Diffstat (limited to 'doc/classes/Label.xml')
-rw-r--r-- | doc/classes/Label.xml | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml index 9e96f11ccc..42ee246730 100644 --- a/doc/classes/Label.xml +++ b/doc/classes/Label.xml @@ -12,24 +12,20 @@ </tutorials> <methods> <method name="clear_opentype_features"> - <return type="void"> - </return> + <return type="void" /> <description> Removes all OpenType features. </description> </method> <method name="get_line_count" qualifiers="const"> - <return type="int"> - </return> + <return type="int" /> <description> Returns the amount of lines of text the Label has. </description> </method> <method name="get_line_height" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="line" type="int" default="-1"> - </argument> + <return type="int" /> + <argument index="0" name="line" type="int" default="-1" /> <description> Returns the height of the line [code]line[/code]. If [code]line[/code] is set to [code]-1[/code], returns the biggest line height. @@ -37,35 +33,28 @@ </description> </method> <method name="get_opentype_feature" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="tag" type="String"> - </argument> + <return type="int" /> + <argument index="0" name="tag" type="String" /> <description> Returns OpenType feature [code]tag[/code]. </description> </method> <method name="get_total_character_count" qualifiers="const"> - <return type="int"> - </return> + <return type="int" /> <description> Returns the total number of printable characters in the text (excluding spaces and newlines). </description> </method> <method name="get_visible_line_count" qualifiers="const"> - <return type="int"> - </return> + <return type="int" /> <description> Returns the number of lines shown. Useful if the [Label]'s height cannot currently display all lines. </description> </method> <method name="set_opentype_feature"> - <return type="void"> - </return> - <argument index="0" name="tag" type="String"> - </argument> - <argument index="1" name="value" type="int"> - </argument> + <return type="void" /> + <argument index="0" name="tag" type="String" /> + <argument index="1" name="value" type="int" /> <description> Returns OpenType feature [code]tag[/code]. More info: [url=https://docs.microsoft.com/en-us/typography/opentype/spec/featuretags]OpenType feature tags[/url]. </description> |