mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
Clarify the coordinate space for the bounding rectangle returned by Label.get_character_bounds
This commit is contained in:
parent
83d54ab2ad
commit
c54e49cd9a
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user