summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/classes/Rect2.xml2
-rw-r--r--doc/classes/Rect2i.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml
index fdabb110c6..4f17e3cf2d 100644
--- a/doc/classes/Rect2.xml
+++ b/doc/classes/Rect2.xml
@@ -83,7 +83,7 @@
<return type="Rect2" />
<param index="0" name="to" type="Vector2" />
<description>
- Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
+ Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
[codeblocks]
[gdscript]
var rect = Rect2(0, 0, 5, 2)
diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml
index 79d9e3f6df..c021a1be26 100644
--- a/doc/classes/Rect2i.xml
+++ b/doc/classes/Rect2i.xml
@@ -82,7 +82,7 @@
<return type="Rect2i" />
<param index="0" name="to" type="Vector2i" />
<description>
- Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
+ Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
[codeblocks]
[gdscript]
var rect = Rect2i(0, 0, 5, 2)