summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-17 09:17:50 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-17 09:17:50 +0200
commit36496c5c6da0b0a9fade9476e89888f598810ebc (patch)
treefe233cb026c7e3409ef3d70440310d0bd4529847
parent4ee5630a4b3588dc7c66236a64774374d942cac2 (diff)
parentc54e49cd9ac43bb2c212fe765c7d4298cd777b07 (diff)
downloadredot-engine-36496c5c6da0b0a9fade9476e89888f598810ebc.tar.gz
Merge pull request #96919 from lpenguin/get-character-bounds-docs
Clarify the coordinate space for the bounding rectangle returned by `Label.get_character_bounds`
-rw-r--r--doc/classes/Label.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml
index e6eba30ab7..f91006f69a 100644
--- a/doc/classes/Label.xml
+++ b/doc/classes/Label.xml
@@ -14,7 +14,7 @@
<return type="Rect2" />
<param index="0" name="pos" type="int" />
<description>
- 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.
</description>
</method>
<method name="get_line_count" qualifiers="const">