summaryrefslogtreecommitdiff
path: root/doc/classes/Rect2i.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-04 15:01:47 +0100
committerGitHub <noreply@github.com>2021-01-04 15:01:47 +0100
commit51e5e200e236f506f757b08ee96345fbeec30db0 (patch)
treeab32df89fe2cf03de8f807bf4a631ae2997bed9a /doc/classes/Rect2i.xml
parent8cfec72084e134a41467658da1f5ae5f5567a044 (diff)
parent215d18814e3db5371ed7aae9555ac25bf7d1a00e (diff)
Merge pull request #44911 from akien-mga/doc-sync
doc: Sync classref with current source
Diffstat (limited to 'doc/classes/Rect2i.xml')
-rw-r--r--doc/classes/Rect2i.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml
index 66e5dae78a..e581ccdb11 100644
--- a/doc/classes/Rect2i.xml
+++ b/doc/classes/Rect2i.xml
@@ -70,16 +70,6 @@
Returns a [Rect2i] 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="Rect2i">
- </return>
- <argument index="0" name="b" type="Rect2i">
- </argument>
- <description>
- Returns the intersection of this [Rect2i] and [code]b[/code].
- If the rectangles do not intersect, an empty [Rect2i] is returned.
- </description>
- </method>
<method name="encloses">
<return type="bool">
</return>
@@ -132,7 +122,7 @@
<method name="grow_side">
<return type="Rect2i">
</return>
- <argument index="0" name="side" type="int" enum="Side">
+ <argument index="0" name="side" type="int">
</argument>
<argument index="1" name="amount" type="int">
</argument>
@@ -156,6 +146,16 @@
Returns [code]true[/code] if the [Rect2i] contains a point.
</description>
</method>
+ <method name="intersection">
+ <return type="Rect2i">
+ </return>
+ <argument index="0" name="b" type="Rect2i">
+ </argument>
+ <description>
+ Returns the intersection of this [Rect2i] and [code]b[/code].
+ If the rectangles do not intersect, an empty [Rect2i] is returned.
+ </description>
+ </method>
<method name="intersects">
<return type="bool">
</return>