Merge pull request #89395 from bruvzg/rtl_ts_img_range

[RTL] Use "visible characters" property for inline object visibility
This commit is contained in:
Rémi Verschelde
2024-03-12 14:23:03 +01:00
11 changed files with 137 additions and 12 deletions

View File

@ -1382,6 +1382,22 @@
Breaks text to the lines and columns. Returns character ranges for each segment.
</description>
</method>
<method name="shaped_text_get_object_glyph" qualifiers="const">
<return type="int" />
<param index="0" name="shaped" type="RID" />
<param index="1" name="key" type="Variant" />
<description>
Returns the glyph index of the inline object.
</description>
</method>
<method name="shaped_text_get_object_range" qualifiers="const">
<return type="Vector2i" />
<param index="0" name="shaped" type="RID" />
<param index="1" name="key" type="Variant" />
<description>
Returns the character range of the inline object.
</description>
</method>
<method name="shaped_text_get_object_rect" qualifiers="const">
<return type="Rect2" />
<param index="0" name="shaped" type="RID" />