diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-02 22:36:57 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-02 22:36:57 +0100 |
commit | 9ec7aadc06c5c6410839e21d26956579d0628728 (patch) | |
tree | f778a87753266d9f7870fbb7fe8dfe38d2277d7a /doc/classes | |
parent | c9e0d787fe49af72fcf84d6a54c073985d8a1851 (diff) | |
parent | ebf86c96e9b648ce1f7d654032e21d4aa84b8985 (diff) |
Merge pull request #66017 from Mickeon/rename-image-copy-rect
Rename Image's `get_rect` to `get_region`
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Image.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index ed398d3b58..bbd633819b 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"> |