From 97ee014434c758ed3f0fc062f16b046cd34015fc Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 1 Feb 2022 22:43:02 +0100 Subject: [PATCH] Clarify documentation for Rect2's `has_no_area()` (cherry picked from commit 7f00317f67ccd5b6215195258a4ae826a5e7fa40) --- doc/classes/Rect2.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index e237ea4a181..52e66f3d3d4 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -69,7 +69,7 @@ - Returns the area of the [Rect2]. + Returns the area of the [Rect2]. See also [method has_no_area]. @@ -100,7 +100,8 @@ - Returns [code]true[/code] if the [Rect2] is flat or empty. + Returns [code]true[/code] if the [Rect2] is flat or empty, [code]false[/code] otherwise. See also [method get_area]. + [b]Note:[/b] If the [Rect2] has a negative size and is not flat or empty, [method has_no_area] will return [code]true[/code].