Index · Object → RefCounted → TextServer → TextServerExtension → TextServerAdvanced

TextServerAdvanced

An advanced text server with support for BiDi, complex text layout, and contextual OpenType features. Used in Godot by default.

Class Description

An implementation of TextServer that uses HarfBuzz, ICU and SIL Graphite to support BiDi, complex text layouts and contextual OpenType features. This is Godot's default primary TextServer interface.

Methods

Inherited from TextServerExtension (249)
func _cleanup() -> void
func _create_font() -> RID
func _draw_hex_code_box(canvas: RID, size: int, pos: Vector2, index: int, color: Color) -> void
func _font_clear_glyphs(font_rid: RID, size: Vector2i) -> void
func _font_clear_kerning_map(font_rid: RID, size: int) -> void
func _font_clear_size_cache(font_rid: RID) -> void
func _font_clear_textures(font_rid: RID, size: Vector2i) -> void
func _font_draw_glyph(font_rid: RID, canvas: RID, size: int, pos: Vector2, index: int, color: Color, oversampling: float) -> void
func _font_draw_glyph_outline(font_rid: RID, canvas: RID, size: int, outline_size: int, pos: Vector2, index: int, color: Color, oversampling: float) -> void
func _font_get_ascent(font_rid: RID, size: int) -> float
func _font_get_char_from_glyph_index(font_rid: RID, size: int, glyph_index: int) -> int
func _font_get_descent(font_rid: RID, size: int) -> float
func _font_get_embolden(font_rid: RID) -> float
func _font_get_face_count(font_rid: RID) -> int
func _font_get_face_index(font_rid: RID) -> int
func _font_get_fixed_size(font_rid: RID) -> int
func _font_get_glyph_advance(font_rid: RID, size: int, glyph: int) -> Vector2
func _font_get_glyph_contours(font_rid: RID, size: int, index: int) -> Dictionary
func _font_get_glyph_index(font_rid: RID, size: int, char: int, variation_selector: int) -> int
func _font_get_glyph_offset(font_rid: RID, size: Vector2i, glyph: int) -> Vector2
func _font_get_glyph_size(font_rid: RID, size: Vector2i, glyph: int) -> Vector2
func _font_get_glyph_texture_idx(font_rid: RID, size: Vector2i, glyph: int) -> int
func _font_get_glyph_texture_rid(font_rid: RID, size: Vector2i, glyph: int) -> RID
func _font_get_glyph_texture_size(font_rid: RID, size: Vector2i, glyph: int) -> Vector2
func _font_get_glyph_uv_rect(font_rid: RID, size: Vector2i, glyph: int) -> Rect2
func _font_get_kerning(font_rid: RID, size: int, glyph_pair: Vector2i) -> Vector2
func _font_get_kerning_list(font_rid: RID, size: int) -> Vector2i[]
func _font_get_language_support_override(font_rid: RID, language: String) -> bool
func _font_get_msdf_size(font_rid: RID) -> int
func _font_get_name(font_rid: RID) -> String
func _font_get_oversampling(font_rid: RID) -> float
func _font_get_palette_count(font_rid: RID) -> int
func _font_get_palette_name(font_rid: RID, index: int) -> String
func _font_get_scale(font_rid: RID, size: int) -> float
func _font_get_script_support_override(font_rid: RID, script: String) -> bool
func _font_get_size_cache_info(font_rid: RID) -> Dictionary[]
func _font_get_size_cache_list(font_rid: RID) -> Vector2i[]
func _font_get_spacing(font_rid: RID, spacing: TextServer.SpacingType) -> int
func _font_get_stretch(font_rid: RID) -> int
func _font_get_style_name(font_rid: RID) -> String
func _font_get_texture_count(font_rid: RID, size: Vector2i) -> int
func _font_get_texture_image(font_rid: RID, size: Vector2i, texture_index: int) -> Image
func _font_get_texture_offsets(font_rid: RID, size: Vector2i, texture_index: int) -> PackedInt32Array
func _font_get_underline_position(font_rid: RID, size: int) -> float
func _font_get_underline_thickness(font_rid: RID, size: int) -> float
func _font_get_used_palette(font_rid: RID) -> int
func _font_get_weight(font_rid: RID) -> int
func _font_has_char(font_rid: RID, char: int) -> bool
func _font_is_language_supported(font_rid: RID, language: String) -> bool
func _font_is_script_supported(font_rid: RID, script: String) -> bool
func _font_remove_glyph(font_rid: RID, size: Vector2i, glyph: int) -> void
func _font_remove_kerning(font_rid: RID, size: int, glyph_pair: Vector2i) -> void
func _font_remove_language_support_override(font_rid: RID, language: String) -> void
func _font_remove_script_support_override(font_rid: RID, script: String) -> void
func _font_remove_size_cache(font_rid: RID, size: Vector2i) -> void
func _font_remove_texture(font_rid: RID, size: Vector2i, texture_index: int) -> void
func _font_render_glyph(font_rid: RID, size: Vector2i, index: int) -> void
func _font_render_range(font_rid: RID, size: Vector2i, start: int, end: int) -> void
func _font_set_allow_system_fallback(font_rid: RID, allow_system_fallback: bool) -> void
func _font_set_antialiasing(font_rid: RID, antialiasing: TextServer.FontAntialiasing) -> void
func _font_set_ascent(font_rid: RID, size: int, ascent: float) -> void
func _font_set_baseline_offset(font_rid: RID, baseline_offset: float) -> void
func _font_set_data(font_rid: RID, data: PackedByteArray) -> void
func _font_set_data_ptr(font_rid: RID, data_ptr: const uint8_t*, data_size: int) -> void
func _font_set_descent(font_rid: RID, size: int, descent: float) -> void
func _font_set_disable_embedded_bitmaps(font_rid: RID, disable_embedded_bitmaps: bool) -> void
func _font_set_embolden(font_rid: RID, strength: float) -> void
func _font_set_face_index(font_rid: RID, face_index: int) -> void
func _font_set_fixed_size(font_rid: RID, fixed_size: int) -> void
func _font_set_fixed_size_scale_mode(font_rid: RID, fixed_size_scale_mode: TextServer.FixedSizeScaleMode) -> void
func _font_set_force_autohinter(font_rid: RID, force_autohinter: bool) -> void
func _font_set_generate_mipmaps(font_rid: RID, generate_mipmaps: bool) -> void
func _font_set_global_oversampling(oversampling: float) -> void
func _font_set_glyph_advance(font_rid: RID, size: int, glyph: int, advance: Vector2) -> void
func _font_set_glyph_offset(font_rid: RID, size: Vector2i, glyph: int, offset: Vector2) -> void
func _font_set_glyph_size(font_rid: RID, size: Vector2i, glyph: int, gl_size: Vector2) -> void
func _font_set_glyph_texture_idx(font_rid: RID, size: Vector2i, glyph: int, texture_idx: int) -> void
func _font_set_glyph_uv_rect(font_rid: RID, size: Vector2i, glyph: int, uv_rect: Rect2) -> void
func _font_set_hinting(font_rid: RID, hinting: TextServer.Hinting) -> void
func _font_set_keep_rounding_remainders(font_rid: RID, keep_rounding_remainders: bool) -> void
func _font_set_kerning(font_rid: RID, size: int, glyph_pair: Vector2i, kerning: Vector2) -> void
func _font_set_language_support_override(font_rid: RID, language: String, supported: bool) -> void
func _font_set_modulate_color_glyphs(font_rid: RID, modulate: bool) -> void
func _font_set_msdf_pixel_range(font_rid: RID, msdf_pixel_range: int) -> void
func _font_set_msdf_size(font_rid: RID, msdf_size: int) -> void
func _font_set_name(font_rid: RID, name: String) -> void
func _font_set_opentype_feature_overrides(font_rid: RID, overrides: Dictionary) -> void
func _font_set_oversampling(font_rid: RID, oversampling: float) -> void
func _font_set_palette_custom_colors(font_rid: RID, colors: PackedColorArray) -> void
func _font_set_scale(font_rid: RID, size: int, scale: float) -> void
func _font_set_script_support_override(font_rid: RID, script: String, supported: bool) -> void
func _font_set_spacing(font_rid: RID, spacing: TextServer.SpacingType, value: int) -> void
func _font_set_stretch(font_rid: RID, stretch: int) -> void
func _font_set_style(font_rid: RID, style: TextServer.FontStyle) -> void
func _font_set_style_name(font_rid: RID, name_style: String) -> void
func _font_set_subpixel_positioning(font_rid: RID, subpixel_positioning: TextServer.SubpixelPositioning) -> void
func _font_set_texture_image(font_rid: RID, size: Vector2i, texture_index: int, image: Image) -> void
func _font_set_texture_offsets(font_rid: RID, size: Vector2i, texture_index: int, offset: PackedInt32Array) -> void
func _font_set_transform(font_rid: RID, transform: Transform2D) -> void
func _font_set_underline_position(font_rid: RID, size: int, underline_position: float) -> void
func _font_set_underline_thickness(font_rid: RID, size: int, underline_thickness: float) -> void
func _font_set_used_palette(font_rid: RID, index: int) -> void
func _font_set_variation_coordinates(font_rid: RID, variation_coordinates: Dictionary) -> void
func _font_set_weight(font_rid: RID, weight: int) -> void
func _format_number(number: String, language: String) -> String
func _free_rid(rid: RID) -> void
func _get_features() -> int
func _get_hex_code_box_size(size: int, index: int) -> Vector2
func _get_name() -> String
func _has(rid: RID) -> bool
func _is_confusable(string: String, dict: PackedStringArray) -> int
func _is_valid_letter(unicode: int) -> bool
func _load_support_data(filename: String) -> bool
func _name_to_tag(name: String) -> int
func _parse_number(number: String, language: String) -> String
func _parse_structured_text(parser_type: TextServer.StructuredTextParser, args: Array, text: String) -> Vector3i[]
func _percent_sign(language: String) -> String
func _reference_oversampling_level(oversampling: float) -> void
func _save_support_data(filename: String) -> bool
func _shaped_get_run_count(shaped: RID) -> int
func _shaped_get_run_font_rid(shaped: RID, index: int) -> RID
func _shaped_get_run_font_size(shaped: RID, index: int) -> int
func _shaped_get_run_glyph_range(shaped: RID, index: int) -> Vector2i
func _shaped_get_run_language(shaped: RID, index: int) -> String
func _shaped_get_run_object(shaped: RID, index: int) -> Variant
func _shaped_get_run_range(shaped: RID, index: int) -> Vector2i
func _shaped_get_run_text(shaped: RID, index: int) -> String
func _shaped_get_span_count(shaped: RID) -> int
func _shaped_get_span_meta(shaped: RID, index: int) -> Variant
func _shaped_get_span_object(shaped: RID, index: int) -> Variant
func _shaped_get_span_text(shaped: RID, index: int) -> String
func _shaped_get_text(shaped: RID) -> String
func _shaped_set_span_update_font(shaped: RID, index: int, fonts: RID[], size: int, opentype_features: Dictionary) -> void
func _shaped_text_add_object(shaped: RID, key: Variant, size: Vector2, inline_align: InlineAlignment, length: int, baseline: float) -> bool
func _shaped_text_add_string(shaped: RID, text: String, fonts: RID[], size: int, opentype_features: Dictionary, language: String, meta: Variant) -> bool
func _shaped_text_clear(shaped: RID) -> void
func _shaped_text_draw(shaped: RID, canvas: RID, pos: Vector2, clip_l: float, clip_r: float, color: Color, oversampling: float) -> void
func _shaped_text_draw_outline(shaped: RID, canvas: RID, pos: Vector2, clip_l: float, clip_r: float, outline_size: int, color: Color, oversampling: float) -> void
func _shaped_text_duplicate(shaped: RID) -> RID
func _shaped_text_fit_to_width(shaped: RID, width: float, justification_flags: TextServer.JustificationFlag) -> float
func _shaped_text_get_carets(shaped: RID, position: int, r_caret: CaretInfo*) -> void
func _shaped_text_get_ellipsis_glyphs(shaped: RID) -> const Glyph*
func _shaped_text_get_glyphs(shaped: RID) -> const Glyph*
func _shaped_text_has_object(shaped: RID, key: Variant) -> bool
func _shaped_text_hit_test_grapheme(shaped: RID, coord: float) -> int
func _shaped_text_hit_test_position(shaped: RID, coord: float) -> int
func _shaped_text_is_ready(shaped: RID) -> bool
func _shaped_text_next_grapheme_pos(shaped: RID, pos: int) -> int
func _shaped_text_overrun_trim_to_width(shaped: RID, width: float, trim_flags: TextServer.TextOverrunFlag) -> void
func _shaped_text_prev_grapheme_pos(shaped: RID, pos: int) -> int
func _shaped_text_resize_object(shaped: RID, key: Variant, size: Vector2, inline_align: InlineAlignment, baseline: float) -> bool
func _shaped_text_set_bidi_override(shaped: RID, override: Array) -> void
func _shaped_text_set_custom_ellipsis(shaped: RID, char: int) -> void
func _shaped_text_set_custom_punctuation(shaped: RID, punct: String) -> void
func _shaped_text_set_direction(shaped: RID, direction: TextServer.Direction) -> void
func _shaped_text_set_orientation(shaped: RID, orientation: TextServer.Orientation) -> void
func _shaped_text_set_preserve_control(shaped: RID, enabled: bool) -> void
func _shaped_text_set_preserve_invalid(shaped: RID, enabled: bool) -> void
func _shaped_text_set_spacing(shaped: RID, spacing: TextServer.SpacingType, value: int) -> void
func _shaped_text_shape(shaped: RID) -> bool
func _shaped_text_sort_logical(shaped: RID) -> const Glyph*
func _shaped_text_substr(shaped: RID, start: int, length: int) -> RID
func _shaped_text_tab_align(shaped: RID, tab_stops: PackedFloat32Array) -> float
func _spoof_check(string: String) -> bool
func _string_get_word_breaks(string: String, language: String, chars_per_line: int) -> PackedInt32Array
func _string_to_lower(string: String, language: String) -> String
func _string_to_title(string: String, language: String) -> String
func _string_to_upper(string: String, language: String) -> String
func _tag_to_name(tag: int) -> String
func _unreference_oversampling_level(oversampling: float) -> void
Inherited from TextServer (244)
func create_font() -> RID
func create_shaped_text(direction: TextServer.Direction = 0, orientation: TextServer.Orientation = 0) -> RID
func draw_hex_code_box(canvas: RID, size: int, pos: Vector2, index: int, color: Color) -> void
func font_clear_glyphs(font_rid: RID, size: Vector2i) -> void
func font_clear_kerning_map(font_rid: RID, size: int) -> void
func font_clear_size_cache(font_rid: RID) -> void
func font_clear_textures(font_rid: RID, size: Vector2i) -> void
func font_draw_glyph(font_rid: RID, canvas: RID, size: int, pos: Vector2, index: int, color: Color = Color(1, 1, 1, 1), oversampling: float = 0.0) -> void
func font_draw_glyph_outline(font_rid: RID, canvas: RID, size: int, outline_size: int, pos: Vector2, index: int, color: Color = Color(1, 1, 1, 1), oversampling: float = 0.0) -> void
func font_get_ascent(font_rid: RID, size: int) -> float
func font_get_char_from_glyph_index(font_rid: RID, size: int, glyph_index: int) -> int
func font_get_descent(font_rid: RID, size: int) -> float
func font_get_embolden(font_rid: RID) -> float
func font_get_face_count(font_rid: RID) -> int
func font_get_face_index(font_rid: RID) -> int
func font_get_fixed_size(font_rid: RID) -> int
func font_get_glyph_advance(font_rid: RID, size: int, glyph: int) -> Vector2
func font_get_glyph_contours(font: RID, size: int, index: int) -> Dictionary
func font_get_glyph_index(font_rid: RID, size: int, char: int, variation_selector: int) -> int
func font_get_glyph_offset(font_rid: RID, size: Vector2i, glyph: int) -> Vector2
func font_get_glyph_size(font_rid: RID, size: Vector2i, glyph: int) -> Vector2
func font_get_glyph_texture_idx(font_rid: RID, size: Vector2i, glyph: int) -> int
func font_get_glyph_texture_rid(font_rid: RID, size: Vector2i, glyph: int) -> RID
func font_get_glyph_texture_size(font_rid: RID, size: Vector2i, glyph: int) -> Vector2
func font_get_glyph_uv_rect(font_rid: RID, size: Vector2i, glyph: int) -> Rect2
func font_get_kerning(font_rid: RID, size: int, glyph_pair: Vector2i) -> Vector2
func font_get_kerning_list(font_rid: RID, size: int) -> Vector2i[]
func font_get_language_support_override(font_rid: RID, language: String) -> bool
func font_get_msdf_pixel_range(font_rid: RID) -> int
func font_get_msdf_size(font_rid: RID) -> int
func font_get_name(font_rid: RID) -> String
func font_get_oversampling(font_rid: RID) -> float
func font_get_palette_colors(font_rid: RID, index: int) -> PackedColorArray
func font_get_palette_count(font_rid: RID) -> int
func font_get_palette_name(font_rid: RID, index: int) -> String
func font_get_scale(font_rid: RID, size: int) -> float
func font_get_script_support_override(font_rid: RID, script: String) -> bool
func font_get_size_cache_info(font_rid: RID) -> Dictionary[]
func font_get_size_cache_list(font_rid: RID) -> Vector2i[]
func font_get_spacing(font_rid: RID, spacing: TextServer.SpacingType) -> int
func font_get_stretch(font_rid: RID) -> int
func font_get_style_name(font_rid: RID) -> String
func font_get_texture_count(font_rid: RID, size: Vector2i) -> int
func font_get_texture_image(font_rid: RID, size: Vector2i, texture_index: int) -> Image
func font_get_texture_offsets(font_rid: RID, size: Vector2i, texture_index: int) -> PackedInt32Array
func font_get_underline_position(font_rid: RID, size: int) -> float
func font_get_underline_thickness(font_rid: RID, size: int) -> float
func font_get_used_palette(font_rid: RID) -> int
func font_get_weight(font_rid: RID) -> int
func font_has_char(font_rid: RID, char: int) -> bool
func font_is_force_autohinter(font_rid: RID) -> bool
func font_is_language_supported(font_rid: RID, language: String) -> bool
func font_is_script_supported(font_rid: RID, script: String) -> bool
func font_remove_glyph(font_rid: RID, size: Vector2i, glyph: int) -> void
func font_remove_kerning(font_rid: RID, size: int, glyph_pair: Vector2i) -> void
func font_remove_language_support_override(font_rid: RID, language: String) -> void
func font_remove_script_support_override(font_rid: RID, script: String) -> void
func font_remove_size_cache(font_rid: RID, size: Vector2i) -> void
func font_remove_texture(font_rid: RID, size: Vector2i, texture_index: int) -> void
func font_render_glyph(font_rid: RID, size: Vector2i, index: int) -> void
func font_render_range(font_rid: RID, size: Vector2i, start: int, end: int) -> void
func font_set_allow_system_fallback(font_rid: RID, allow_system_fallback: bool) -> void
func font_set_antialiasing(font_rid: RID, antialiasing: TextServer.FontAntialiasing) -> void
func font_set_ascent(font_rid: RID, size: int, ascent: float) -> void
func font_set_baseline_offset(font_rid: RID, baseline_offset: float) -> void
func font_set_data(font_rid: RID, data: PackedByteArray) -> void
func font_set_descent(font_rid: RID, size: int, descent: float) -> void
func font_set_disable_embedded_bitmaps(font_rid: RID, disable_embedded_bitmaps: bool) -> void
func font_set_embolden(font_rid: RID, strength: float) -> void
func font_set_face_index(font_rid: RID, face_index: int) -> void
func font_set_fixed_size(font_rid: RID, fixed_size: int) -> void
func font_set_fixed_size_scale_mode(font_rid: RID, fixed_size_scale_mode: TextServer.FixedSizeScaleMode) -> void
func font_set_force_autohinter(font_rid: RID, force_autohinter: bool) -> void
func font_set_generate_mipmaps(font_rid: RID, generate_mipmaps: bool) -> void
func font_set_global_oversampling(oversampling: float) -> void
func font_set_glyph_advance(font_rid: RID, size: int, glyph: int, advance: Vector2) -> void
func font_set_glyph_offset(font_rid: RID, size: Vector2i, glyph: int, offset: Vector2) -> void
func font_set_glyph_size(font_rid: RID, size: Vector2i, glyph: int, gl_size: Vector2) -> void
func font_set_glyph_texture_idx(font_rid: RID, size: Vector2i, glyph: int, texture_idx: int) -> void
func font_set_glyph_uv_rect(font_rid: RID, size: Vector2i, glyph: int, uv_rect: Rect2) -> void
func font_set_hinting(font_rid: RID, hinting: TextServer.Hinting) -> void
func font_set_keep_rounding_remainders(font_rid: RID, keep_rounding_remainders: bool) -> void
func font_set_kerning(font_rid: RID, size: int, glyph_pair: Vector2i, kerning: Vector2) -> void
func font_set_language_support_override(font_rid: RID, language: String, supported: bool) -> void
func font_set_modulate_color_glyphs(font_rid: RID, modulate: bool) -> void
func font_set_msdf_pixel_range(font_rid: RID, msdf_pixel_range: int) -> void
func font_set_msdf_size(font_rid: RID, msdf_size: int) -> void
func font_set_name(font_rid: RID, name: String) -> void
func font_set_opentype_feature_overrides(font_rid: RID, overrides: Dictionary) -> void
func font_set_oversampling(font_rid: RID, oversampling: float) -> void
func font_set_palette_custom_colors(font_rid: RID, colors: PackedColorArray) -> void
func font_set_scale(font_rid: RID, size: int, scale: float) -> void
func font_set_script_support_override(font_rid: RID, script: String, supported: bool) -> void
func font_set_spacing(font_rid: RID, spacing: TextServer.SpacingType, value: int) -> void
func font_set_stretch(font_rid: RID, weight: int) -> void
func font_set_style(font_rid: RID, style: TextServer.FontStyle) -> void
func font_set_style_name(font_rid: RID, name: String) -> void
func font_set_subpixel_positioning(font_rid: RID, subpixel_positioning: TextServer.SubpixelPositioning) -> void
func font_set_texture_image(font_rid: RID, size: Vector2i, texture_index: int, image: Image) -> void
func font_set_texture_offsets(font_rid: RID, size: Vector2i, texture_index: int, offset: PackedInt32Array) -> void
func font_set_transform(font_rid: RID, transform: Transform2D) -> void
func font_set_underline_position(font_rid: RID, size: int, underline_position: float) -> void
func font_set_underline_thickness(font_rid: RID, size: int, underline_thickness: float) -> void
func font_set_used_palette(font_rid: RID, index: int) -> void
func font_set_variation_coordinates(font_rid: RID, variation_coordinates: Dictionary) -> void
func font_set_weight(font_rid: RID, weight: int) -> void
func format_number(number: String, language: String = "") -> String
func free_rid(rid: RID) -> void
func get_features() -> int
func get_hex_code_box_size(size: int, index: int) -> Vector2
func get_name() -> String
func has(rid: RID) -> bool
func is_confusable(string: String, dict: PackedStringArray) -> int
func is_valid_letter(unicode: int) -> bool
func load_support_data(filename: String) -> bool
func name_to_tag(name: String) -> int
func parse_number(number: String, language: String = "") -> String
func parse_structured_text(parser_type: TextServer.StructuredTextParser, args: Array, text: String) -> Vector3i[]
func percent_sign(language: String = "") -> String
func save_support_data(filename: String) -> bool
func shaped_get_run_count(shaped: RID) -> int
func shaped_get_run_font_rid(shaped: RID, index: int) -> RID
func shaped_get_run_font_size(shaped: RID, index: int) -> int
func shaped_get_run_glyph_range(shaped: RID, index: int) -> Vector2i
func shaped_get_run_language(shaped: RID, index: int) -> String
func shaped_get_run_object(shaped: RID, index: int) -> Variant
func shaped_get_run_range(shaped: RID, index: int) -> Vector2i
func shaped_get_run_text(shaped: RID, index: int) -> String
func shaped_get_span_count(shaped: RID) -> int
func shaped_get_span_meta(shaped: RID, index: int) -> Variant
func shaped_get_span_object(shaped: RID, index: int) -> Variant
func shaped_get_span_text(shaped: RID, index: int) -> String
func shaped_get_text(shaped: RID) -> String
func shaped_set_span_update_font(shaped: RID, index: int, fonts: RID[], size: int, opentype_features: Dictionary = {}) -> void
func shaped_text_add_object(shaped: RID, key: Variant, size: Vector2, inline_align: InlineAlignment = 5, length: int = 1, baseline: float = 0.0) -> bool
func shaped_text_add_string(shaped: RID, text: String, fonts: RID[], size: int, opentype_features: Dictionary = {}, language: String = "", meta: Variant = null) -> bool
func shaped_text_clear(rid: RID) -> void
func shaped_text_draw(shaped: RID, canvas: RID, pos: Vector2, clip_l: float = -1, clip_r: float = -1, color: Color = Color(1, 1, 1, 1), oversampling: float = 0.0) -> void
func shaped_text_draw_outline(shaped: RID, canvas: RID, pos: Vector2, clip_l: float = -1, clip_r: float = -1, outline_size: int = 1, color: Color = Color(1, 1, 1, 1), oversampling: float = 0.0) -> void
func shaped_text_fit_to_width(shaped: RID, width: float, justification_flags: TextServer.JustificationFlag = 3) -> float
func shaped_text_get_carets(shaped: RID, position: int) -> Dictionary
func shaped_text_get_ellipsis_glyphs(shaped: RID) -> Dictionary[]
func shaped_text_get_glyphs(shaped: RID) -> Dictionary[]
func shaped_text_get_line_breaks(shaped: RID, width: float, start: int = 0, break_flags: TextServer.LineBreakFlag = 3) -> PackedInt32Array
func shaped_text_get_line_breaks_adv(shaped: RID, width: PackedFloat32Array, start: int = 0, once: bool = true, break_flags: TextServer.LineBreakFlag = 3) -> PackedInt32Array
func shaped_text_get_parent(shaped: RID) -> RID
func shaped_text_get_selection(shaped: RID, start: int, end: int) -> PackedVector2Array
func shaped_text_get_word_breaks(shaped: RID, grapheme_flags: TextServer.GraphemeFlag = 264, skip_grapheme_flags: TextServer.GraphemeFlag = 4) -> PackedInt32Array
func shaped_text_has_object(shaped: RID, key: Variant) -> bool
func shaped_text_hit_test_grapheme(shaped: RID, coords: float) -> int
func shaped_text_hit_test_position(shaped: RID, coords: float) -> int
func shaped_text_is_ready(shaped: RID) -> bool
func shaped_text_next_character_pos(shaped: RID, pos: int) -> int
func shaped_text_next_grapheme_pos(shaped: RID, pos: int) -> int
func shaped_text_overrun_trim_to_width(shaped: RID, width: float = 0, overrun_trim_flags: TextServer.TextOverrunFlag = 0) -> void
func shaped_text_prev_character_pos(shaped: RID, pos: int) -> int
func shaped_text_prev_grapheme_pos(shaped: RID, pos: int) -> int
func shaped_text_resize_object(shaped: RID, key: Variant, size: Vector2, inline_align: InlineAlignment = 5, baseline: float = 0.0) -> bool
func shaped_text_set_bidi_override(shaped: RID, override: Array) -> void
func shaped_text_set_custom_ellipsis(shaped: RID, char: int) -> void
func shaped_text_set_custom_punctuation(shaped: RID, punct: String) -> void
func shaped_text_set_direction(shaped: RID, direction: TextServer.Direction = 0) -> void
func shaped_text_set_orientation(shaped: RID, orientation: TextServer.Orientation = 0) -> void
func shaped_text_set_preserve_control(shaped: RID, enabled: bool) -> void
func shaped_text_set_preserve_invalid(shaped: RID, enabled: bool) -> void
func shaped_text_set_spacing(shaped: RID, spacing: TextServer.SpacingType, value: int) -> void
func shaped_text_shape(shaped: RID) -> bool
func shaped_text_sort_logical(shaped: RID) -> Dictionary[]
func shaped_text_substr(shaped: RID, start: int, length: int) -> RID
func shaped_text_tab_align(shaped: RID, tab_stops: PackedFloat32Array) -> float
func spoof_check(string: String) -> bool
func string_get_word_breaks(string: String, language: String = "", chars_per_line: int = 0) -> PackedInt32Array
func string_to_lower(string: String, language: String = "") -> String
func string_to_title(string: String, language: String = "") -> String
func string_to_upper(string: String, language: String = "") -> String
func strip_diacritics(string: String) -> String
func tag_to_name(tag: int) -> String
Inherited from RefCounted (4)
func init_ref() -> bool
func reference() -> bool
func unreference() -> bool
Inherited from Object (62)
func _get(property: StringName) -> Variant
func _get_property_list() -> Dictionary[]
func _init() -> void
func _iter_get(iter: Variant) -> Variant
func _iter_init(iter: Array) -> bool
func _iter_next(iter: Array) -> bool
func _notification(what: int) -> void
func _set(property: StringName, value: Variant) -> bool
func _to_string() -> String
func _validate_property(property: Dictionary) -> void
func add_user_signal(signal: String, arguments: Array = []) -> void
func call(method: StringName) -> Variant
func callv(method: StringName, arg_array: Array) -> Variant
func cancel_free() -> void
func connect(signal: StringName, callable: Callable, flags: int = 0) -> Error
func disconnect(signal: StringName, callable: Callable) -> void
func emit_signal(signal: StringName) -> Error
func free() -> void
func get(property: StringName) -> Variant
func get_class() -> String
func get_incoming_connections() -> Dictionary[]
func get_indexed(property_path: NodePath) -> Variant
func get_meta(name: StringName, default: Variant = null) -> Variant
func get_meta_list() -> StringName[]
func get_method_list() -> Dictionary[]
func get_property_list() -> Dictionary[]
func get_signal_connection_list(signal: StringName) -> Dictionary[]
func get_signal_list() -> Dictionary[]
func has_meta(name: StringName) -> bool
func has_method(method: StringName) -> bool
func has_signal(signal: StringName) -> bool
func is_class(class: StringName) -> bool
func is_connected(signal: StringName, callable: Callable) -> bool
func notification(what: int, reversed: bool = false) -> void
func remove_meta(name: StringName) -> void
func remove_user_signal(signal: StringName) -> void
func set(property: StringName, value: Variant) -> void
func set_block_signals(enable: bool) -> void
func set_deferred(property: StringName, value: Variant) -> void
func set_indexed(property_path: NodePath, value: Variant) -> void
func set_message_translation(enable: bool) -> void
func set_meta(name: StringName, value: Variant) -> void
func set_script(script: Variant) -> void
func set_translation_domain(domain: StringName) -> void
func to_string() -> String
func tr(message: StringName, context: StringName = &"") -> String
func tr_n(message: StringName, plural_message: StringName, n: int, context: StringName = &"") -> String

Signals

Inherited from Object (2)