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>
<description>
Draws an arc between the given angles. The larger the value of [code]point_count[/code], the smoother the curve.
</description>
</method>
<method name="draw_char">

View file

@ -504,7 +504,7 @@
<description>
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.
[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>
</method>
<method name="has_shader_override" qualifiers="const">

View file

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

View file

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

View file

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

View file

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