Clarify the coordinate space for the bounding rectangle returned by Label.get_character_bounds

This commit is contained in:
Nikita Prianichnikov 2024-09-12 15:47:31 +00:00 committed by Nikita Prianichnikov
parent 83d54ab2ad
commit c54e49cd9a
1 changed files with 1 additions and 1 deletions

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