diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-04 20:32:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 20:32:20 +0100 |
commit | e89754fa1f5ff3b11dddae399ac2838fd0f1acfe (patch) | |
tree | 39fa2bae93e54d0e3c246216730326241064a995 /doc/classes/Rect2.xml | |
parent | 398f714dfcb99c229c7ace06c906374a3fd93e3c (diff) | |
parent | 8c8c48a7adb27f1563e8ec7d3c756ce08ffbdf5c (diff) |
Merge pull request #36021 from YeldhamDev/intersects_touch_expose
Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'
Diffstat (limited to 'doc/classes/Rect2.xml')
-rw-r--r-- | doc/classes/Rect2.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index 26abfb538b..dbf461cdf1 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -143,8 +143,11 @@ </return> <argument index="0" name="b" type="Rect2"> </argument> + <argument index="1" name="include_borders" type="bool" default="false"> + </argument> <description> - Returns [code]true[/code] if the [Rect2] overlaps with another. + Returns [code]true[/code] if the [Rect2] overlaps with [code]b[/code] (i.e. they have at least one point in common). + If [code]include_borders[/code] is [code]true[/code], they will also be considered overlapping if their borders touch, even without intersection. </description> </method> <method name="is_equal_approx"> |