diff options
author | Nathan Franke <natfra@pm.me> | 2020-12-21 22:05:26 -0600 |
---|---|---|
committer | Nathan Franke <natfra@pm.me> | 2020-12-26 22:16:57 -0600 |
commit | 3fda53c256f7bbefbcfc4904a1d46f0ebc32dd7d (patch) | |
tree | e4859c88ac172f3bf5d46e3c1c3eb8bb22167088 /doc/classes | |
parent | 3dc52c2b6a52bc1fe7e9ad29f435ab63cc013a5a (diff) |
Update Rect intersection documentation, and rename method on Mono
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Rect2.xml | 3 | ||||
-rw-r--r-- | doc/classes/Rect2i.xml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index 8feeb91b97..34f81948c4 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -78,7 +78,8 @@ <argument index="0" name="b" type="Rect2"> </argument> <description> - Returns the intersection of this [Rect2] and b. + Returns the intersection of this [Rect2] and [code]b[/code]. + If the rectangles do not intersect, an empty [Rect2] is returned. </description> </method> <method name="encloses"> diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml index 80f2a87f31..d354adf892 100644 --- a/doc/classes/Rect2i.xml +++ b/doc/classes/Rect2i.xml @@ -76,7 +76,8 @@ <argument index="0" name="b" type="Rect2i"> </argument> <description> - Returns the intersection of this [Rect2i] and b. + 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"> |