Merge pull request #96919 from lpenguin/get-character-bounds-docs

Clarify the coordinate space for the bounding rectangle returned by `Label.get_character_bounds`
This commit is contained in:
Rémi Verschelde 2024-09-17 09:17:50 +02:00
commit 36496c5c6d
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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">