From c54e49cd9ac43bb2c212fe765c7d4298cd777b07 Mon Sep 17 00:00:00 2001 From: Nikita Prianichnikov Date: Thu, 12 Sep 2024 15:47:31 +0000 Subject: [PATCH] Clarify the coordinate space for the bounding rectangle returned by Label.get_character_bounds --- doc/classes/Label.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml index e6eba30ab71..f91006f69a0 100644 --- a/doc/classes/Label.xml +++ b/doc/classes/Label.xml @@ -14,7 +14,7 @@ - Returns the bounding rectangle of the character at position [param pos]. If the character is a non-visual character or [param pos] is outside the valid range, an empty [Rect2] is returned. If the character is a part of a composite grapheme, the bounding rectangle of the whole grapheme is returned. + Returns the bounding rectangle of the character at position [param pos] in the label's local coordinate system. If the character is a non-visual character or [param pos] is outside the valid range, an empty [Rect2] is returned. If the character is a part of a composite grapheme, the bounding rectangle of the whole grapheme is returned.