You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
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:
@@ -14,7 +14,7 @@
|
|||||||
<return type="Rect2" />
|
<return type="Rect2" />
|
||||||
<param index="0" name="pos" type="int" />
|
<param index="0" name="pos" type="int" />
|
||||||
<description>
|
<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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_line_count" qualifiers="const">
|
<method name="get_line_count" qualifiers="const">
|
||||||
|
|||||||
Reference in New Issue
Block a user