Base accessibility API.
This commit is contained in:
parent
af2c713971
commit
b106dfd4f9
124 changed files with 7631 additions and 181 deletions
|
|
@ -1323,6 +1323,77 @@
|
|||
Saves optional TextServer database (e.g. ICU break iterators and dictionaries) to the file.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_count" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the number of uniform text runs in the buffer.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_direction" qualifiers="virtual const">
|
||||
<return type="int" enum="TextServer.Direction" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the direction of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_font_rid" qualifiers="virtual const">
|
||||
<return type="RID" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the font RID of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_font_size" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the font size of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_language" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the language of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_object" qualifiers="virtual const">
|
||||
<return type="Variant" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the embedded object of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_range" qualifiers="virtual const">
|
||||
<return type="Vector2i" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the source text range of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_run_text" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the source text of the [param index] text run (in visual order).
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_span_count" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
|
|
@ -1349,6 +1420,32 @@
|
|||
Returns text span metadata.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_span_object" qualifiers="virtual const">
|
||||
<return type="Variant" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the text span embedded object key.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_span_text" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="index" type="int" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the text span source text.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_get_text" qualifiers="virtual const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<description>
|
||||
[b]Required.[/b]
|
||||
Returns the text buffer source text, including object replacement characters.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_shaped_set_span_update_font" qualifiers="virtual">
|
||||
<return type="void" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue