summaryrefslogtreecommitdiff
path: root/doc/classes/Rect2i.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-19 21:32:14 +0100
committerGitHub <noreply@github.com>2020-12-19 21:32:14 +0100
commite9d12f9e4ea30a6c3f2cf179f104a153d668c2a3 (patch)
treef1d12e916b17a749335ef2e39151863e7d56280c /doc/classes/Rect2i.xml
parent93acaca8ca0ae0cd369aa2ffa1a8f1128a08e42b (diff)
parent2df9a8ccadf3e7f99d767456eedb0e559c96572c (diff)
Merge pull request #44521 from madmiraal/rename-rect2-clip
Rename Rect2 and Rect2i clip() to intersection()
Diffstat (limited to 'doc/classes/Rect2i.xml')
-rw-r--r--doc/classes/Rect2i.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml
index e8b75a6ac6..ef12c8de1e 100644
--- a/doc/classes/Rect2i.xml
+++ b/doc/classes/Rect2i.xml
@@ -70,7 +70,7 @@
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="clip">
+ <method name="intersection">
<return type="Rect2i">
</return>
<argument index="0" name="b" type="Rect2i">