doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2021-01-04 14:33:44 +01:00
parent 8bfd96ee3f
commit 215d18814e
No known key found for this signature in database
GPG key ID: C3336907360768E1
76 changed files with 1279 additions and 1469 deletions

View file

@ -72,16 +72,6 @@
Returns a [Rect2] with equivalent position and area, modified so that the top-left corner is the origin and [code]width[/code] and [code]height[/code] are positive.
</description>
</method>
<method name="intersection">
<return type="Rect2">
</return>
<argument index="0" name="b" type="Rect2">
</argument>
<description>
Returns the intersection of this [Rect2] and [code]b[/code].
If the rectangles do not intersect, an empty [Rect2] is returned.
</description>
</method>
<method name="encloses">
<return type="bool">
</return>
@ -134,7 +124,7 @@
<method name="grow_side">
<return type="Rect2">
</return>
<argument index="0" name="side" type="int" enum="Side">
<argument index="0" name="side" type="int">
</argument>
<argument index="1" name="amount" type="float">
</argument>
@ -158,6 +148,16 @@
Returns [code]true[/code] if the [Rect2] contains a point.
</description>
</method>
<method name="intersection">
<return type="Rect2">
</return>
<argument index="0" name="b" type="Rect2">
</argument>
<description>
Returns the intersection of this [Rect2] and [code]b[/code].
If the rectangles do not intersect, an empty [Rect2] is returned.
</description>
</method>
<method name="intersects">
<return type="bool">
</return>