2021-08-27 21:19:51 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 08:08:05 +00:00
|
|
|
<class name="TextServerExtension" inherits="TextServer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2021-08-27 21:19:51 +00:00
|
|
|
<brief_description>
|
2023-04-30 14:26:09 +00:00
|
|
|
Base class for custom [TextServer] implementations (plugins).
|
2021-08-27 21:19:51 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2023-04-30 14:26:09 +00:00
|
|
|
External [TextServer] implementations should inherit from this class.
|
2021-08-27 21:19:51 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2022-11-21 13:04:01 +00:00
|
|
|
<method name="_cleanup" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_create_font" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-09-28 07:45:09 +00:00
|
|
|
<method name="_create_font_linked_variation" qualifiers="virtual">
|
|
|
|
<return type="RID" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_create_shaped_text" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="RID" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="direction" type="int" enum="TextServer.Direction" />
|
|
|
|
<param index="1" name="orientation" type="int" enum="TextServer.Orientation" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_draw_hex_code_box" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="canvas" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="pos" type="Vector2" />
|
|
|
|
<param index="3" name="index" type="int" />
|
|
|
|
<param index="4" name="color" type="Color" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_clear_glyphs" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_clear_kerning_map" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_clear_size_cache" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_clear_textures" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_draw_glyph" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="canvas" type="RID" />
|
|
|
|
<param index="2" name="size" type="int" />
|
|
|
|
<param index="3" name="pos" type="Vector2" />
|
|
|
|
<param index="4" name="index" type="int" />
|
|
|
|
<param index="5" name="color" type="Color" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_draw_glyph_outline" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="canvas" type="RID" />
|
|
|
|
<param index="2" name="size" type="int" />
|
|
|
|
<param index="3" name="outline_size" type="int" />
|
|
|
|
<param index="4" name="pos" type="Vector2" />
|
|
|
|
<param index="5" name="index" type="int" />
|
|
|
|
<param index="6" name="color" type="Color" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_antialiasing" qualifiers="virtual const">
|
2022-08-12 11:03:28 +00:00
|
|
|
<return type="int" enum="TextServer.FontAntialiasing" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_ascent" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-02-27 14:21:28 +00:00
|
|
|
<method name="_font_get_char_from_glyph_index" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="glyph_index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_descent" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_embolden" qualifiers="virtual const">
|
2022-03-11 07:31:16 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2022-03-11 07:31:16 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_face_count" qualifiers="virtual const">
|
2022-06-07 08:35:59 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2022-06-07 08:35:59 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_face_index" qualifiers="virtual const">
|
2022-06-07 08:35:59 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2022-06-07 08:35:59 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_fixed_size" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_generate_mipmaps" qualifiers="virtual const">
|
2022-04-19 10:27:18 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2022-04-19 10:27:18 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_global_oversampling" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_advance" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_contours" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Dictionary" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="index" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_index" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="char" type="int" />
|
|
|
|
<param index="3" name="variation_selector" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_list" qualifiers="virtual const">
|
2022-08-05 01:41:48 +00:00
|
|
|
<return type="PackedInt32Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_offset" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_size" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_texture_idx" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_texture_rid" qualifiers="virtual const">
|
2022-04-19 10:27:18 +00:00
|
|
|
<return type="RID" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2022-04-19 10:27:18 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_texture_size" qualifiers="virtual const">
|
2022-04-19 10:27:18 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2022-04-19 10:27:18 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_glyph_uv_rect" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Rect2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_hinting" qualifiers="virtual const">
|
2022-02-03 13:03:51 +00:00
|
|
|
<return type="int" enum="TextServer.Hinting" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_kerning" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="glyph_pair" type="Vector2i" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_kerning_list" qualifiers="virtual const">
|
2022-08-05 01:41:48 +00:00
|
|
|
<return type="Vector2i[]" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_language_support_override" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_language_support_overrides" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="PackedStringArray" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_msdf_pixel_range" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_msdf_size" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_name" qualifiers="virtual const">
|
2021-10-26 06:40:11 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-10-26 06:40:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_opentype_feature_overrides" qualifiers="virtual const">
|
2021-11-18 21:36:22 +00:00
|
|
|
<return type="Dictionary" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-11-18 21:36:22 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-04-05 09:49:38 +00:00
|
|
|
<method name="_font_get_ot_name_strings" qualifiers="virtual const">
|
|
|
|
<return type="Dictionary" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_oversampling" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_scale" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_script_support_override" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="script" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_script_support_overrides" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="PackedStringArray" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_size_cache_list" qualifiers="virtual const">
|
2022-08-05 01:41:48 +00:00
|
|
|
<return type="Vector2i[]" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-08-24 08:56:50 +00:00
|
|
|
<method name="_font_get_spacing" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="spacing" type="int" enum="TextServer.SpacingType" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-11-21 13:04:01 +00:00
|
|
|
<method name="_font_get_stretch" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_style" qualifiers="virtual const">
|
2023-06-15 14:06:22 +00:00
|
|
|
<return type="int" enum="TextServer.FontStyle" is_bitfield="true" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-10-26 06:40:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_style_name" qualifiers="virtual const">
|
2021-10-26 06:40:11 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-10-26 06:40:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_subpixel_positioning" qualifiers="virtual const">
|
2022-01-10 08:13:22 +00:00
|
|
|
<return type="int" enum="TextServer.SubpixelPositioning" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2022-01-10 08:13:22 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_supported_chars" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_texture_count" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_texture_image" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Image" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="texture_index" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_texture_offsets" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="PackedInt32Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="texture_index" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_transform" qualifiers="virtual const">
|
2022-03-11 07:31:16 +00:00
|
|
|
<return type="Transform2D" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2022-03-11 07:31:16 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_underline_position" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_underline_thickness" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_get_variation_coordinates" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Dictionary" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-11-21 13:04:01 +00:00
|
|
|
<method name="_font_get_weight" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_has_char" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="char" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-11-21 13:04:01 +00:00
|
|
|
<method name="_font_is_allow_system_fallback" qualifiers="virtual const">
|
|
|
|
<return type="bool" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_is_force_autohinter" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_is_language_supported" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_is_multichannel_signed_distance_field" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_is_script_supported" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="script" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_remove_glyph" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_remove_kerning" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="glyph_pair" type="Vector2i" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_remove_language_support_override" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_remove_script_support_override" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="script" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_remove_size_cache" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_remove_texture" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="texture_index" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_render_glyph" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="index" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_render_range" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="start" type="int" />
|
|
|
|
<param index="3" name="end" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-11-21 13:04:01 +00:00
|
|
|
<method name="_font_set_allow_system_fallback" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="allow_system_fallback" type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_antialiasing" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2022-08-12 11:03:28 +00:00
|
|
|
<param index="1" name="antialiasing" type="int" enum="TextServer.FontAntialiasing" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_ascent" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="ascent" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_data" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="data" type="PackedByteArray" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_data_ptr" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="data_ptr" type="const uint8_t*" />
|
|
|
|
<param index="2" name="data_size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_descent" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="descent" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_embolden" qualifiers="virtual">
|
2022-03-11 07:31:16 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="strength" type="float" />
|
2022-03-11 07:31:16 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_face_index" qualifiers="virtual">
|
2022-06-07 08:35:59 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="face_index" type="int" />
|
2022-06-07 08:35:59 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_fixed_size" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="fixed_size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_force_autohinter" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="force_autohinter" type="bool" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_generate_mipmaps" qualifiers="virtual">
|
2022-04-19 10:27:18 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="generate_mipmaps" type="bool" />
|
2022-04-19 10:27:18 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_global_oversampling" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="oversampling" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_glyph_advance" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
|
|
|
<param index="3" name="advance" type="Vector2" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_glyph_offset" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
|
|
|
<param index="3" name="offset" type="Vector2" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_glyph_size" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
|
|
|
<param index="3" name="gl_size" type="Vector2" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_glyph_texture_idx" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
|
|
|
<param index="3" name="texture_idx" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_glyph_uv_rect" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="glyph" type="int" />
|
|
|
|
<param index="3" name="uv_rect" type="Rect2" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_hinting" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="hinting" type="int" enum="TextServer.Hinting" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_kerning" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="glyph_pair" type="Vector2i" />
|
|
|
|
<param index="3" name="kerning" type="Vector2" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_language_support_override" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="language" type="String" />
|
|
|
|
<param index="2" name="supported" type="bool" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_msdf_pixel_range" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="msdf_pixel_range" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_msdf_size" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="msdf_size" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_multichannel_signed_distance_field" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="msdf" type="bool" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_name" qualifiers="virtual">
|
2021-10-26 06:40:11 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="name" type="String" />
|
2021-10-26 06:40:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_opentype_feature_overrides" qualifiers="virtual">
|
2021-11-18 21:36:22 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="overrides" type="Dictionary" />
|
2021-11-18 21:36:22 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_oversampling" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="oversampling" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_scale" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="scale" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_script_support_override" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="script" type="String" />
|
|
|
|
<param index="2" name="supported" type="bool" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-08-24 08:56:50 +00:00
|
|
|
<method name="_font_set_spacing" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="spacing" type="int" enum="TextServer.SpacingType" />
|
|
|
|
<param index="2" name="value" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-11-21 13:04:01 +00:00
|
|
|
<method name="_font_set_stretch" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="stretch" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_style" qualifiers="virtual">
|
2021-10-26 06:40:11 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2023-06-15 14:06:22 +00:00
|
|
|
<param index="1" name="style" type="int" enum="TextServer.FontStyle" is_bitfield="true" />
|
2021-10-26 06:40:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_style_name" qualifiers="virtual">
|
2021-10-26 06:40:11 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="name_style" type="String" />
|
2021-10-26 06:40:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_subpixel_positioning" qualifiers="virtual">
|
2022-01-10 08:13:22 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="subpixel_positioning" type="int" enum="TextServer.SubpixelPositioning" />
|
2022-01-10 08:13:22 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_texture_image" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="texture_index" type="int" />
|
|
|
|
<param index="3" name="image" type="Image" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_texture_offsets" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="Vector2i" />
|
|
|
|
<param index="2" name="texture_index" type="int" />
|
|
|
|
<param index="3" name="offset" type="PackedInt32Array" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_transform" qualifiers="virtual">
|
2022-03-11 07:31:16 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="transform" type="Transform2D" />
|
2022-03-11 07:31:16 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_underline_position" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="underline_position" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_underline_thickness" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="size" type="int" />
|
|
|
|
<param index="2" name="underline_thickness" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_set_variation_coordinates" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="variation_coordinates" type="Dictionary" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-11-21 13:04:01 +00:00
|
|
|
<method name="_font_set_weight" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="font_rid" type="RID" />
|
|
|
|
<param index="1" name="weight" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_supported_feature_list" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Dictionary" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_font_supported_variation_list" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Dictionary" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="font_rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_format_number" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_free_rid" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_get_features" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_get_hex_code_box_size" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="size" type="int" />
|
|
|
|
<param index="1" name="index" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_get_name" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_get_support_data_filename" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_get_support_data_info" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_has" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="rid" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_has_feature" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="feature" type="int" enum="TextServer.Feature" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_is_confusable" qualifiers="virtual const">
|
2021-11-12 08:12:37 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
|
|
|
<param index="1" name="dict" type="PackedStringArray" />
|
2021-11-12 08:12:37 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_is_locale_right_to_left" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="locale" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_is_valid_identifier" qualifiers="virtual const">
|
2021-10-18 12:07:11 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
2021-10-18 12:07:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_load_support_data" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="filename" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_name_to_tag" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="name" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_parse_number" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_parse_structured_text" qualifiers="virtual const">
|
2023-01-18 07:33:35 +00:00
|
|
|
<return type="Vector3i[]" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="parser_type" type="int" enum="TextServer.StructuredTextParser" />
|
|
|
|
<param index="1" name="args" type="Array" />
|
|
|
|
<param index="2" name="text" type="String" />
|
2022-04-19 10:27:18 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_percent_sign" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="language" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_save_support_data" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="filename" type="String" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_get_span_count" qualifiers="virtual const">
|
2022-01-20 07:30:42 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2022-01-20 07:30:42 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_get_span_meta" qualifiers="virtual const">
|
2022-01-20 07:30:42 +00:00
|
|
|
<return type="Variant" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="index" type="int" />
|
2022-01-20 07:30:42 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_set_span_update_font" qualifiers="virtual">
|
2022-01-20 07:30:42 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="index" type="int" />
|
2022-08-31 17:24:04 +00:00
|
|
|
<param index="2" name="fonts" type="RID[]" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="3" name="size" type="int" />
|
|
|
|
<param index="4" name="opentype_features" type="Dictionary" />
|
2022-01-20 07:30:42 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_add_object" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="key" type="Variant" />
|
|
|
|
<param index="2" name="size" type="Vector2" />
|
|
|
|
<param index="3" name="inline_align" type="int" enum="InlineAlignment" />
|
|
|
|
<param index="4" name="length" type="int" />
|
2022-12-08 20:01:07 +00:00
|
|
|
<param index="5" name="baseline" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_add_string" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="text" type="String" />
|
2022-08-31 17:24:04 +00:00
|
|
|
<param index="2" name="fonts" type="RID[]" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="3" name="size" type="int" />
|
|
|
|
<param index="4" name="opentype_features" type="Dictionary" />
|
|
|
|
<param index="5" name="language" type="String" />
|
|
|
|
<param index="6" name="meta" type="Variant" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_clear" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-08-15 08:42:40 +00:00
|
|
|
<method name="_shaped_text_closest_character_pos" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="pos" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_draw" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="canvas" type="RID" />
|
|
|
|
<param index="2" name="pos" type="Vector2" />
|
|
|
|
<param index="3" name="clip_l" type="float" />
|
|
|
|
<param index="4" name="clip_r" type="float" />
|
|
|
|
<param index="5" name="color" type="Color" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_draw_outline" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="canvas" type="RID" />
|
|
|
|
<param index="2" name="pos" type="Vector2" />
|
|
|
|
<param index="3" name="clip_l" type="float" />
|
|
|
|
<param index="4" name="clip_r" type="float" />
|
|
|
|
<param index="5" name="outline_size" type="int" />
|
|
|
|
<param index="6" name="color" type="Color" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_fit_to_width" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="width" type="float" />
|
2023-06-15 14:06:22 +00:00
|
|
|
<param index="2" name="justification_flags" type="int" enum="TextServer.JustificationFlag" is_bitfield="true" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_ascent" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_carets" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="position" type="int" />
|
|
|
|
<param index="2" name="caret" type="CaretInfo*" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-08-15 08:42:40 +00:00
|
|
|
<method name="_shaped_text_get_character_breaks" qualifiers="virtual const">
|
|
|
|
<return type="PackedInt32Array" />
|
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_custom_punctuation" qualifiers="virtual const">
|
2021-03-06 09:52:16 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-03-06 09:52:16 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_descent" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_direction" qualifiers="virtual const">
|
2022-02-03 13:03:51 +00:00
|
|
|
<return type="int" enum="TextServer.Direction" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_dominant_direction_in_range" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="start" type="int" />
|
|
|
|
<param index="2" name="end" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_ellipsis_glyph_count" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_ellipsis_glyphs" qualifiers="virtual const">
|
2022-02-13 12:41:29 +00:00
|
|
|
<return type="const Glyph*" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_ellipsis_pos" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_glyph_count" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_glyphs" qualifiers="virtual const">
|
2022-02-13 12:41:29 +00:00
|
|
|
<return type="const Glyph*" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_grapheme_bounds" qualifiers="virtual const">
|
2021-11-18 15:55:43 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="pos" type="int" />
|
2021-11-18 15:55:43 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_inferred_direction" qualifiers="virtual const">
|
2022-02-03 13:03:51 +00:00
|
|
|
<return type="int" enum="TextServer.Direction" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2022-01-10 15:24:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_line_breaks" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="PackedInt32Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="width" type="float" />
|
|
|
|
<param index="2" name="start" type="int" />
|
2023-06-15 14:06:22 +00:00
|
|
|
<param index="3" name="break_flags" type="int" enum="TextServer.LineBreakFlag" is_bitfield="true" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_line_breaks_adv" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="PackedInt32Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="width" type="PackedFloat32Array" />
|
|
|
|
<param index="2" name="start" type="int" />
|
|
|
|
<param index="3" name="once" type="bool" />
|
2023-06-15 14:06:22 +00:00
|
|
|
<param index="4" name="break_flags" type="int" enum="TextServer.LineBreakFlag" is_bitfield="true" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_object_rect" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Rect2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="key" type="Variant" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_objects" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_orientation" qualifiers="virtual const">
|
2022-02-03 13:03:51 +00:00
|
|
|
<return type="int" enum="TextServer.Orientation" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_parent" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="RID" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_preserve_control" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_preserve_invalid" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_range" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Vector2i" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_selection" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="PackedVector2Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="start" type="int" />
|
|
|
|
<param index="2" name="end" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_size" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="Vector2" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_spacing" qualifiers="virtual const">
|
2022-05-09 09:47:10 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="spacing" type="int" enum="TextServer.SpacingType" />
|
2022-05-09 09:47:10 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_trim_pos" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_underline_position" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_underline_thickness" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_width" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_get_word_breaks" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="PackedInt32Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2023-06-15 14:06:22 +00:00
|
|
|
<param index="1" name="grapheme_flags" type="int" enum="TextServer.GraphemeFlag" is_bitfield="true" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_hit_test_grapheme" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="coord" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_hit_test_position" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="coord" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_is_ready" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-08-15 08:42:40 +00:00
|
|
|
<method name="_shaped_text_next_character_pos" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="pos" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_next_grapheme_pos" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="pos" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_overrun_trim_to_width" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="width" type="float" />
|
2023-06-15 14:06:22 +00:00
|
|
|
<param index="2" name="trim_flags" type="int" enum="TextServer.TextOverrunFlag" is_bitfield="true" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-08-15 08:42:40 +00:00
|
|
|
<method name="_shaped_text_prev_character_pos" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="pos" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_prev_grapheme_pos" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="int" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="pos" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_resize_object" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="key" type="Variant" />
|
|
|
|
<param index="2" name="size" type="Vector2" />
|
|
|
|
<param index="3" name="inline_align" type="int" enum="InlineAlignment" />
|
2022-12-08 20:01:07 +00:00
|
|
|
<param index="4" name="baseline" type="float" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_set_bidi_override" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="override" type="Array" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_set_custom_punctuation" qualifiers="virtual">
|
2021-03-06 09:52:16 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="punct" type="String" />
|
2021-03-06 09:52:16 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_set_direction" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="direction" type="int" enum="TextServer.Direction" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_set_orientation" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="orientation" type="int" enum="TextServer.Orientation" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_set_preserve_control" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="enabled" type="bool" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_set_preserve_invalid" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="enabled" type="bool" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_set_spacing" qualifiers="virtual">
|
2022-05-09 09:47:10 +00:00
|
|
|
<return type="void" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="spacing" type="int" enum="TextServer.SpacingType" />
|
|
|
|
<param index="2" name="value" type="int" />
|
2022-05-09 09:47:10 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_shape" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_sort_logical" qualifiers="virtual">
|
2022-02-13 12:41:29 +00:00
|
|
|
<return type="const Glyph*" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_substr" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="RID" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="start" type="int" />
|
|
|
|
<param index="2" name="length" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_tab_align" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="float" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
|
|
|
<param index="1" name="tab_stops" type="PackedFloat32Array" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_update_breaks" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_shaped_text_update_justification_ops" qualifiers="virtual">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="shaped" type="RID" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_spoof_check" qualifiers="virtual const">
|
2021-11-12 08:12:37 +00:00
|
|
|
<return type="bool" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
2021-11-12 08:12:37 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-08-15 08:42:40 +00:00
|
|
|
<method name="_string_get_character_breaks" qualifiers="virtual const">
|
|
|
|
<return type="PackedInt32Array" />
|
|
|
|
<param index="0" name="string" type="String" />
|
|
|
|
<param index="1" name="language" type="String" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_string_get_word_breaks" qualifiers="virtual const">
|
2021-11-04 12:33:37 +00:00
|
|
|
<return type="PackedInt32Array" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2022-08-18 08:20:20 +00:00
|
|
|
<param index="2" name="chars_per_line" type="int" />
|
2021-11-04 12:33:37 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_string_to_lower" qualifiers="virtual const">
|
2022-01-17 08:54:45 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2022-01-17 08:54:45 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_string_to_upper" qualifiers="virtual const">
|
2022-01-17 08:54:45 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
|
|
|
<param index="1" name="language" type="String" />
|
2022-01-17 08:54:45 +00:00
|
|
|
<description>
|
2022-02-13 12:41:29 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_strip_diacritics" qualifiers="virtual const">
|
2022-02-13 12:41:29 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="string" type="String" />
|
2022-02-13 12:41:29 +00:00
|
|
|
<description>
|
2022-01-17 08:54:45 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
2022-09-27 08:23:34 +00:00
|
|
|
<method name="_tag_to_name" qualifiers="virtual const">
|
2021-08-27 21:19:51 +00:00
|
|
|
<return type="String" />
|
2022-08-06 18:11:48 +00:00
|
|
|
<param index="0" name="tag" type="int" />
|
2021-08-27 21:19:51 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
</class>
|