Merge pull request #35000 from cbscribe/kcc_minor_docs

[DOCS] Corrections and clarifications to classref
This commit is contained in:
Rémi Verschelde 2020-01-10 21:57:16 +01:00 committed by GitHub
commit 8c24a42ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 3 deletions

View File

@ -42,6 +42,7 @@
<argument index="7" name="antialiased" type="bool" default="false"> <argument index="7" name="antialiased" type="bool" default="false">
</argument> </argument>
<description> <description>
Draws an arc between the given angles. The larger the value of [code]point_count[/code], the smoother the curve.
</description> </description>
</method> </method>
<method name="draw_char"> <method name="draw_char">

View File

@ -504,7 +504,7 @@
<description> <description>
Virtual method to be implemented by the user. Returns whether the given [code]point[/code] is inside this control. Virtual method to be implemented by the user. Returns whether the given [code]point[/code] is inside this control.
If not overridden, default behavior is checking if the point is within control's Rect. If not overridden, default behavior is checking if the point is within control's Rect.
[b]Node:[/b] If you want to check if a point is inside the control, you can use [code]get_rect().has_point(point)[/code]. [b]Note:[/b] If you want to check if a point is inside the control, you can use [code]get_rect().has_point(point)[/code].
</description> </description>
</method> </method>
<method name="has_shader_override" qualifiers="const"> <method name="has_shader_override" qualifiers="const">

View File

@ -91,6 +91,7 @@
<return type="bool"> <return type="bool">
</return> </return>
<description> <description>
Returns [code]true[/code] if the font has an outline.
</description> </description>
</method> </method>
<method name="is_distance_field_hint" qualifiers="const"> <method name="is_distance_field_hint" qualifiers="const">

View File

@ -60,6 +60,7 @@
<argument index="1" name="deadzone" type="float"> <argument index="1" name="deadzone" type="float">
</argument> </argument>
<description> <description>
Sets a deadzone value for the action.
</description> </description>
</method> </method>
<method name="add_action"> <method name="add_action">

View File

@ -174,7 +174,7 @@
<argument index="1" name="granted" type="bool"> <argument index="1" name="granted" type="bool">
</argument> </argument>
<description> <description>
Emitted when an user responds to permission request. Emitted when a user responds to a permission request.
</description> </description>
</signal> </signal>
</signals> </signals>

View File

@ -61,7 +61,7 @@
<signals> <signals>
<signal name="texture_changed"> <signal name="texture_changed">
<description> <description>
Fired when the node's texture changes. Emitted when the node's texture changes.
</description> </description>
</signal> </signal>
</signals> </signals>