From 7f00317f67ccd5b6215195258a4ae826a5e7fa40 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()` --- 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 7f1a9fe72c2..d4a28602933 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]. @@ -106,7 +106,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].