Remove redundant info on the enum types used

This commit is contained in:
Haoyu Qiu
2025-05-08 11:56:10 +08:00
parent 1b37dacc18
commit 1e82bafa3a
144 changed files with 359 additions and 361 deletions

View File

@@ -478,7 +478,7 @@
<param index="1" name="spacing" type="int" enum="TextServer.SpacingType" />
<description>
[b]Optional.[/b]
Returns the spacing for [param spacing] (see [enum TextServer.SpacingType]) in pixels (not relative to the font size).
Returns the spacing for [param spacing] in pixels (not relative to the font size).
</description>
</method>
<method name="_font_get_stretch" qualifiers="virtual const">
@@ -494,7 +494,7 @@
<param index="0" name="font_rid" type="RID" />
<description>
[b]Optional.[/b]
Returns font style flags, see [enum TextServer.FontStyle].
Returns font style flags.
</description>
</method>
<method name="_font_get_style_name" qualifiers="virtual const">
@@ -1057,7 +1057,7 @@
<param index="2" name="value" type="int" />
<description>
[b]Optional.[/b]
Sets the spacing for [param spacing] (see [enum TextServer.SpacingType]) to [param value] in pixels (not relative to the font size).
Sets the spacing for [param spacing] to [param value] in pixels (not relative to the font size).
</description>
</method>
<method name="_font_set_stretch" qualifiers="virtual">
@@ -1075,7 +1075,7 @@
<param index="1" name="style" type="int" enum="TextServer.FontStyle" is_bitfield="true" />
<description>
[b]Optional.[/b]
Sets the font style flags, see [enum TextServer.FontStyle].
Sets the font style flags.
</description>
</method>
<method name="_font_set_style_name" qualifiers="virtual">
@@ -1321,7 +1321,7 @@
<param index="2" name="text" type="String" />
<description>
[b]Optional.[/b]
Default implementation of the BiDi algorithm override function. See [enum TextServer.StructuredTextParser] for more info.
Default implementation of the BiDi algorithm override function.
</description>
</method>
<method name="_percent_sign" qualifiers="virtual const">
@@ -1855,7 +1855,7 @@
<param index="2" name="skip_grapheme_flags" type="int" enum="TextServer.GraphemeFlag" is_bitfield="true" />
<description>
[b]Optional.[/b]
Breaks text into words and returns array of character ranges. Use [param grapheme_flags] to set what characters are used for breaking (see [enum TextServer.GraphemeFlag]).
Breaks text into words and returns array of character ranges. Use [param grapheme_flags] to set what characters are used for breaking.
</description>
</method>
<method name="_shaped_text_hit_test_grapheme" qualifiers="virtual const">