summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-09-18 02:19:55 +0200
committerMicky <micheledevita2@gmail.com>2022-11-01 23:35:48 +0100
commitebf86c96e9b648ce1f7d654032e21d4aa84b8985 (patch)
tree273fb5c2aad13abdce6571ec4a886448164a0cc4 /doc/classes
parente6751549cf7247965d1744b8c464f5e901006f21 (diff)
Rename Image's `get_rect` to `get_region`
Also renames its parameter to from "rect" to "region".
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Image.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index 88cea6820e..55b8ad2d57 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -241,11 +241,11 @@
This is the same as [method get_pixel], but with a [Vector2i] argument instead of two integer arguments.
</description>
</method>
- <method name="get_rect" qualifiers="const">
+ <method name="get_region" qualifiers="const">
<return type="Image" />
- <param index="0" name="rect" type="Rect2i" />
+ <param index="0" name="region" type="Rect2i" />
<description>
- Returns a new image that is a copy of the image's area specified with [param rect].
+ Returns a new [Image] that is a copy of this [Image]'s area specified with [param region].
</description>
</method>
<method name="get_size" qualifiers="const">