[DOCS] Class reference typos and fixes.

This commit is contained in:
Chris Bradfield 2020-01-01 17:08:19 -08:00
parent 5fa1905131
commit ab11916822
7 changed files with 10 additions and 10 deletions

View File

@ -204,7 +204,7 @@
</methods> </methods>
<members> <members>
<member name="filter_enabled" type="bool" setter="set_filter_enabled" getter="is_filter_enabled"> <member name="filter_enabled" type="bool" setter="set_filter_enabled" getter="is_filter_enabled">
Returns whether filtering is enabled. If [code]true[/code], filtering is enabled.
</member> </member>
</members> </members>
<signals> <signals>

View File

@ -12,13 +12,13 @@
</methods> </methods>
<members> <members>
<member name="antialiased" type="bool" setter="set_antialiased" getter="is_antialiased" default="true"> <member name="antialiased" type="bool" setter="set_antialiased" getter="is_antialiased" default="true">
Controls whether the font should be rendered with anti-aliasing. If [code]true[/code], the font is rendered with anti-aliasing.
</member> </member>
<member name="font_path" type="String" setter="set_font_path" getter="get_font_path" default="&quot;&quot;"> <member name="font_path" type="String" setter="set_font_path" getter="get_font_path" default="&quot;&quot;">
The path to the vector font file. The path to the vector font file.
</member> </member>
<member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting" default="2"> <member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting" default="2">
The font hinting mode used by FreeType. The font hinting mode used by FreeType. See [enum Hinting] for options.
</member> </member>
</members> </members>
<constants> <constants>

View File

@ -334,7 +334,7 @@
<return type="bool"> <return type="bool">
</return> </return>
<description> <description>
Returns whether the popup will be hidden when the window loses focus or not. Returns [code]true[/code] if the popup will be hidden when the window loses focus or not.
</description> </description>
</method> </method>
<method name="is_item_checkable" qualifiers="const"> <method name="is_item_checkable" qualifiers="const">
@ -391,7 +391,7 @@
<argument index="0" name="idx" type="int"> <argument index="0" name="idx" type="int">
</argument> </argument>
<description> <description>
Returns whether the shortcut of the specified item [code]idx[/code] is disabled or not. Returns [code]true[/code] if the specified item's shortcut is disabled.
</description> </description>
</method> </method>
<method name="remove_item"> <method name="remove_item">
@ -477,7 +477,7 @@
<argument index="1" name="disabled" type="bool"> <argument index="1" name="disabled" type="bool">
</argument> </argument>
<description> <description>
Sets whether the item at index [code]idx[/code] is disabled or not. When it is disabled, it can't be selected and its action can't be invoked. Enables/disables the item at index [code]idx[/code]. When it is disabled, it can't be selected and its action can't be invoked.
</description> </description>
</method> </method>
<method name="set_item_icon"> <method name="set_item_icon">

View File

@ -15,7 +15,7 @@
Full height of the sphere. Full height of the sphere.
</member> </member>
<member name="is_hemisphere" type="bool" setter="set_is_hemisphere" getter="get_is_hemisphere" default="false"> <member name="is_hemisphere" type="bool" setter="set_is_hemisphere" getter="get_is_hemisphere" default="false">
Determines whether a full sphere or a hemisphere is created. If [code]true[/code], a hemisphere is created rather than a full sphere.
[b]Note:[/b] To get a regular hemisphere, the height and radius of the sphere must be equal. [b]Note:[/b] To get a regular hemisphere, the height and radius of the sphere must be equal.
</member> </member>
<member name="radial_segments" type="int" setter="set_radial_segments" getter="get_radial_segments" default="64"> <member name="radial_segments" type="int" setter="set_radial_segments" getter="get_radial_segments" default="64">

View File

@ -20,7 +20,7 @@
<member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed" default="false"> <member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed" default="false">
</member> </member>
<member name="dragger_visibility" type="int" setter="set_dragger_visibility" getter="get_dragger_visibility" enum="SplitContainer.DraggerVisibility" default="0"> <member name="dragger_visibility" type="int" setter="set_dragger_visibility" getter="get_dragger_visibility" enum="SplitContainer.DraggerVisibility" default="0">
Determines whether the dragger is visible. Determines the dragger's visibility. See [enum DraggerVisibility] for options.
</member> </member>
<member name="split_offset" type="int" setter="set_split_offset" getter="get_split_offset" default="0"> <member name="split_offset" type="int" setter="set_split_offset" getter="get_split_offset" default="0">
</member> </member>

View File

@ -86,7 +86,7 @@
The [member texture_progress] fills from right to left. The [member texture_progress] fills from right to left.
</constant> </constant>
<constant name="FILL_TOP_TO_BOTTOM" value="2" enum="FillMode"> <constant name="FILL_TOP_TO_BOTTOM" value="2" enum="FillMode">
The [member texture_progress] fills from top to bototm. The [member texture_progress] fills from top to bottom.
</constant> </constant>
<constant name="FILL_BOTTOM_TO_TOP" value="3" enum="FillMode"> <constant name="FILL_BOTTOM_TO_TOP" value="3" enum="FillMode">
The [member texture_progress] fills from bottom to top. The [member texture_progress] fills from bottom to top.

View File

@ -49,7 +49,7 @@
</member> </member>
<member name="time_left" type="float" setter="" getter="get_time_left"> <member name="time_left" type="float" setter="" getter="get_time_left">
The timer's remaining time in seconds. Returns 0 if the timer is inactive. The timer's remaining time in seconds. Returns 0 if the timer is inactive.
[b]Note:[/b] You cannot set this value. To change the timer's remaining time, use [member wait_time]. [b]Note:[/b] You cannot set this value. To change the timer's remaining time, use [method start].
</member> </member>
<member name="wait_time" type="float" setter="set_wait_time" getter="get_wait_time" default="1.0"> <member name="wait_time" type="float" setter="set_wait_time" getter="get_wait_time" default="1.0">
Wait time in seconds. Wait time in seconds.