Godot::TextServer
Inherits Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
create_font
Sourcecreate_font_linked_variation(font_rid : Int64) : Int64
Sourcecreate_shaped_text(direction : Int64, orientation : Int64) : Int64
Sourcefont_clear_kerning_map(font_rid : Int64, size : Int64) : Void
Sourcefont_clear_size_cache(font_rid : Int64) : Void
Sourcefont_clear_system_fallback_cache
Sourcefont_draw_glyph(font_rid : Int64, canvas : Int64, size : Int64, pos : Vector2, index : Int64, color : Color, oversampling : Float64) : Void
Sourcefont_draw_glyph_outline(font_rid : Int64, canvas : Int64, size : Int64, outline_size : Int64, pos : Vector2, index : Int64, color : Color, oversampling : Float64) : Void
Sourcefont_get_antialiasing(font_rid : Int64) : Int64
Sourcefont_get_ascent(font_rid : Int64, size : Int64) : Float64
Sourcefont_get_baseline_offset(font_rid : Int64) : Float64
Sourcefont_get_char_from_glyph_index(font_rid : Int64, size : Int64, glyph_index : Int64) : Int64
Sourcefont_get_descent(font_rid : Int64, size : Int64) : Float64
Sourcefont_get_disable_embedded_bitmaps(font_rid : Int64) : Bool
Sourcefont_get_embolden(font_rid : Int64) : Float64
Sourcefont_get_face_count(font_rid : Int64) : Int64
Sourcefont_get_face_index(font_rid : Int64) : Int64
Sourcefont_get_fixed_size(font_rid : Int64) : Int64
Sourcefont_get_fixed_size_scale_mode(font_rid : Int64) : Int64
Sourcefont_get_generate_mipmaps(font_rid : Int64) : Bool
Sourcefont_get_global_oversampling
Sourcefont_get_glyph_contours(font : Int64, size : Int64, index : Int64) : Pointer(Void)
Sourcefont_get_glyph_index(font_rid : Int64, size : Int64, char : Int64, variation_selector : Int64) : Int64
Sourcefont_get_hinting(font_rid : Int64) : Int64
Sourcefont_get_keep_rounding_remainders(font_rid : Int64) : Bool
Sourcefont_get_kerning_list(font_rid : Int64, size : Int64) : Godot::Array
Sourcefont_get_language_support_override(font_rid : Int64, language : String) : Bool
Sourcefont_get_language_support_overrides(font_rid : Int64) : Pointer(Void)
Sourcefont_get_msdf_pixel_range(font_rid : Int64) : Int64
Sourcefont_get_msdf_size(font_rid : Int64) : Int64
Sourcefont_get_name(font_rid : Int64) : String
Sourcefont_get_opentype_feature_overrides(font_rid : Int64) : Pointer(Void)
Sourcefont_get_ot_name_strings(font_rid : Int64) : Pointer(Void)
Sourcefont_get_oversampling(font_rid : Int64) : Float64
Sourcefont_get_palette_colors(font_rid : Int64, index : Int64) : Pointer(Void)
Sourcefont_get_palette_count(font_rid : Int64) : Int64
Sourcefont_get_palette_custom_colors(font_rid : Int64) : Pointer(Void)
Sourcefont_get_palette_name(font_rid : Int64, index : Int64) : String
Sourcefont_get_scale(font_rid : Int64, size : Int64) : Float64
Sourcefont_get_script_support_override(font_rid : Int64, script : String) : Bool
Sourcefont_get_script_support_overrides(font_rid : Int64) : Pointer(Void)
Sourcefont_get_size_cache_info(font_rid : Int64) : Godot::Array
Sourcefont_get_size_cache_list(font_rid : Int64) : Godot::Array
Sourcefont_get_spacing(font_rid : Int64, spacing : Int64) : Int64
Sourcefont_get_stretch(font_rid : Int64) : Int64
Sourcefont_get_style(font_rid : Int64) : Int64
Sourcefont_get_style_name(font_rid : Int64) : String
Sourcefont_get_subpixel_positioning(font_rid : Int64) : Int64
Sourcefont_get_supported_chars(font_rid : Int64) : String
Sourcefont_get_supported_glyphs(font_rid : Int64) : Pointer(Void)
Sourcefont_get_underline_position(font_rid : Int64, size : Int64) : Float64
Sourcefont_get_underline_thickness(font_rid : Int64, size : Int64) : Float64
Sourcefont_get_used_palette(font_rid : Int64) : Int64
Sourcefont_get_variation_coordinates(font_rid : Int64) : Pointer(Void)
Sourcefont_get_weight(font_rid : Int64) : Int64
Sourcefont_has_char(font_rid : Int64, char : Int64) : Bool
Sourcefont_is_allow_system_fallback(font_rid : Int64) : Bool
Sourcefont_is_force_autohinter(font_rid : Int64) : Bool
Sourcefont_is_language_supported(font_rid : Int64, language : String) : Bool
Sourcefont_is_modulate_color_glyphs(font_rid : Int64) : Bool
Sourcefont_is_multichannel_signed_distance_field(font_rid : Int64) : Bool
Sourcefont_is_script_supported(font_rid : Int64, script : String) : Bool
Sourcefont_remove_language_support_override(font_rid : Int64, language : String) : Void
Sourcefont_remove_script_support_override(font_rid : Int64, script : String) : Void
Sourcefont_set_allow_system_fallback(font_rid : Int64, allow_system_fallback : Bool) : Void
Sourcefont_set_antialiasing(font_rid : Int64, antialiasing : Int64) : Void
Sourcefont_set_ascent(font_rid : Int64, size : Int64, ascent : Float64) : Void
Sourcefont_set_baseline_offset(font_rid : Int64, baseline_offset : Float64) : Void
Sourcefont_set_data(font_rid : Int64, data : Pointer(Void)) : Void
Sourcefont_set_descent(font_rid : Int64, size : Int64, descent : Float64) : Void
Sourcefont_set_disable_embedded_bitmaps(font_rid : Int64, disable_embedded_bitmaps : Bool) : Void
Sourcefont_set_embolden(font_rid : Int64, strength : Float64) : Void
Sourcefont_set_face_index(font_rid : Int64, face_index : Int64) : Void
Sourcefont_set_fixed_size(font_rid : Int64, fixed_size : Int64) : Void
Sourcefont_set_fixed_size_scale_mode(font_rid : Int64, fixed_size_scale_mode : Int64) : Void
Sourcefont_set_force_autohinter(font_rid : Int64, force_autohinter : Bool) : Void
Sourcefont_set_generate_mipmaps(font_rid : Int64, generate_mipmaps : Bool) : Void
Sourcefont_set_global_oversampling(oversampling : Float64) : Void
Sourcefont_set_glyph_texture_idx(font_rid : Int64, size : Vector2i, glyph : Int64, texture_idx : Int64) : Void
Sourcefont_set_hinting(font_rid : Int64, hinting : Int64) : Void
Sourcefont_set_keep_rounding_remainders(font_rid : Int64, keep_rounding_remainders : Bool) : Void
Sourcefont_set_language_support_override(font_rid : Int64, language : String, supported : Bool) : Void
Sourcefont_set_modulate_color_glyphs(font_rid : Int64, modulate : Bool) : Void
Sourcefont_set_msdf_pixel_range(font_rid : Int64, msdf_pixel_range : Int64) : Void
Sourcefont_set_msdf_size(font_rid : Int64, msdf_size : Int64) : Void
Sourcefont_set_multichannel_signed_distance_field(font_rid : Int64, msdf : Bool) : Void
Sourcefont_set_name(font_rid : Int64, name : String) : Void
Sourcefont_set_opentype_feature_overrides(font_rid : Int64, overrides : Pointer(Void)) : Void
Sourcefont_set_oversampling(font_rid : Int64, oversampling : Float64) : Void
Sourcefont_set_palette_custom_colors(font_rid : Int64, colors : Pointer(Void)) : Void
Sourcefont_set_scale(font_rid : Int64, size : Int64, scale : Float64) : Void
Sourcefont_set_script_support_override(font_rid : Int64, script : String, supported : Bool) : Void
Sourcefont_set_spacing(font_rid : Int64, spacing : Int64, value : Int64) : Void
Sourcefont_set_stretch(font_rid : Int64, weight : Int64) : Void
Sourcefont_set_style(font_rid : Int64, style : Int64) : Void
Sourcefont_set_style_name(font_rid : Int64, name : String) : Void
Sourcefont_set_subpixel_positioning(font_rid : Int64, subpixel_positioning : Int64) : Void
Sourcefont_set_texture_image(font_rid : Int64, size : Vector2i, texture_index : Int64, image : Image) : Void
Sourcefont_set_texture_offsets(font_rid : Int64, size : Vector2i, texture_index : Int64, offset : Pointer(Void)) : Void
Sourcefont_set_underline_position(font_rid : Int64, size : Int64, underline_position : Float64) : Void
Sourcefont_set_underline_thickness(font_rid : Int64, size : Int64, underline_thickness : Float64) : Void
Sourcefont_set_used_palette(font_rid : Int64, index : Int64) : Void
Sourcefont_set_variation_coordinates(font_rid : Int64, variation_coordinates : Pointer(Void)) : Void
Sourcefont_set_weight(font_rid : Int64, weight : Int64) : Void
Sourcefont_supported_feature_list(font_rid : Int64) : Pointer(Void)
Sourcefont_supported_variation_list(font_rid : Int64) : Pointer(Void)
Sourceformat_number(number : String, language : String) : String
Sourcefree_rid(rid : Int64) : Void
Sourceget_features
Sourceget_name
Sourceget_short_name
Sourceget_support_data
Sourceget_support_data_filename
Sourceget_support_data_info
Sourcehas(rid : Int64) : Bool
Sourcehas_feature(feature : Int64) : Bool
Sourceis_confusable(string : String, dict : Pointer(Void)) : Int64
Sourceis_locale_right_to_left(locale : String) : Bool
Sourceis_locale_using_support_data(locale : String) : Bool
Sourceis_valid_identifier(string : String) : Bool
Sourceis_valid_letter(unicode : Int64) : Bool
Sourceload_support_data(filename : String) : Bool
Sourcename_to_tag(name : String) : Int64
Sourceparse_number(number : String, language : String) : String
Sourceparse_structured_text(parser_type : Int64, args : Godot::Array, text : String) : Godot::Array
Sourcepercent_sign(language : String) : String
Sourcesave_support_data(filename : String) : Bool
Sourceshaped_get_run_count(shaped : Int64) : Int64
Sourceshaped_get_run_direction(shaped : Int64, index : Int64) : Int64
Sourceshaped_get_run_font_rid(shaped : Int64, index : Int64) : Int64
Sourceshaped_get_run_font_size(shaped : Int64, index : Int64) : Int64
Sourceshaped_get_run_language(shaped : Int64, index : Int64) : String
Sourceshaped_get_run_object(shaped : Int64, index : Int64) : Pointer(Void)
Sourceshaped_get_run_text(shaped : Int64, index : Int64) : String
Sourceshaped_get_span_count(shaped : Int64) : Int64
Sourceshaped_get_span_embedded_object(shaped : Int64, index : Int64) : Pointer(Void)
Sourceshaped_get_span_meta(shaped : Int64, index : Int64) : Pointer(Void)
Sourceshaped_get_span_object(shaped : Int64, index : Int64) : Pointer(Void)
Sourceshaped_get_span_text(shaped : Int64, index : Int64) : String
Sourceshaped_get_text(shaped : Int64) : String
Sourceshaped_set_span_update_font(shaped : Int64, index : Int64, fonts : Godot::Array, size : Int64, opentype_features : Pointer(Void)) : Void
Sourceshaped_text_add_object(shaped : Int64, key : Pointer(Void), size : Vector2, inline_align : Int64, length : Int64, baseline : Float64) : Bool
Sourceshaped_text_add_string(shaped : Int64, text : String, fonts : Godot::Array, size : Int64, opentype_features : Pointer(Void), language : String, meta : Pointer(Void)) : Bool
Sourceshaped_text_clear(rid : Int64) : Void
Sourceshaped_text_closest_character_pos(shaped : Int64, pos : Int64) : Int64
Sourceshaped_text_draw(shaped : Int64, canvas : Int64, pos : Vector2, clip_l : Float64, clip_r : Float64, color : Color, oversampling : Float64) : Void
Sourceshaped_text_draw_outline(shaped : Int64, canvas : Int64, pos : Vector2, clip_l : Float64, clip_r : Float64, outline_size : Int64, color : Color, oversampling : Float64) : Void
Sourceshaped_text_duplicate(rid : Int64) : Int64
Sourceshaped_text_fit_to_width(shaped : Int64, width : Float64, justification_flags : Int64) : Float64
Sourceshaped_text_get_ascent(shaped : Int64) : Float64
Sourceshaped_text_get_carets(shaped : Int64, position : Int64) : Pointer(Void)
Sourceshaped_text_get_character_breaks(shaped : Int64) : Pointer(Void)
Sourceshaped_text_get_custom_ellipsis(shaped : Int64) : Int64
Sourceshaped_text_get_custom_punctuation(shaped : Int64) : String
Sourceshaped_text_get_descent(shaped : Int64) : Float64
Sourceshaped_text_get_direction(shaped : Int64) : Int64
Sourceshaped_text_get_dominant_direction_in_range(shaped : Int64, start : Int64, end_val : Int64) : Int64
Sourceshaped_text_get_ellipsis_glyph_count(shaped : Int64) : Int64
Sourceshaped_text_get_ellipsis_glyphs(shaped : Int64) : Godot::Array
Sourceshaped_text_get_ellipsis_pos(shaped : Int64) : Int64
Sourceshaped_text_get_glyph_count(shaped : Int64) : Int64
Sourceshaped_text_get_glyphs(shaped : Int64) : Godot::Array
Sourceshaped_text_get_inferred_direction(shaped : Int64) : Int64
Sourceshaped_text_get_line_breaks(shaped : Int64, width : Float64, start : Int64, break_flags : Int64) : Pointer(Void)
Sourceshaped_text_get_line_breaks_adv(shaped : Int64, width : Pointer(Void), start : Int64, once : Bool, break_flags : Int64) : Pointer(Void)
Sourceshaped_text_get_object_glyph(shaped : Int64, key : Pointer(Void)) : Int64
Sourceshaped_text_get_objects(shaped : Int64) : Godot::Array
Sourceshaped_text_get_orientation(shaped : Int64) : Int64
Sourceshaped_text_get_parent(shaped : Int64) : Int64
Sourceshaped_text_get_preserve_control(shaped : Int64) : Bool
Sourceshaped_text_get_preserve_invalid(shaped : Int64) : Bool
Sourceshaped_text_get_selection(shaped : Int64, start : Int64, end_val : Int64) : Pointer(Void)
Sourceshaped_text_get_spacing(shaped : Int64, spacing : Int64) : Int64
Sourceshaped_text_get_trim_pos(shaped : Int64) : Int64
Sourceshaped_text_get_underline_position(shaped : Int64) : Float64
Sourceshaped_text_get_underline_thickness(shaped : Int64) : Float64
Sourceshaped_text_get_width(shaped : Int64) : Float64
Sourceshaped_text_get_word_breaks(shaped : Int64, grapheme_flags : Int64, skip_grapheme_flags : Int64) : Pointer(Void)
Sourceshaped_text_has_object(shaped : Int64, key : Pointer(Void)) : Bool
Sourceshaped_text_has_visible_chars(shaped : Int64) : Bool
Sourceshaped_text_hit_test_grapheme(shaped : Int64, coords : Float64) : Int64
Sourceshaped_text_hit_test_position(shaped : Int64, coords : Float64) : Int64
Sourceshaped_text_is_ready(shaped : Int64) : Bool
Sourceshaped_text_next_character_pos(shaped : Int64, pos : Int64) : Int64
Sourceshaped_text_next_grapheme_pos(shaped : Int64, pos : Int64) : Int64
Sourceshaped_text_overrun_trim_to_width(shaped : Int64, width : Float64, overrun_trim_flags : Int64) : Void
Sourceshaped_text_prev_character_pos(shaped : Int64, pos : Int64) : Int64
Sourceshaped_text_prev_grapheme_pos(shaped : Int64, pos : Int64) : Int64
Sourceshaped_text_resize_object(shaped : Int64, key : Pointer(Void), size : Vector2, inline_align : Int64, baseline : Float64) : Bool
Sourceshaped_text_set_bidi_override(shaped : Int64, override : Godot::Array) : Void
Sourceshaped_text_set_custom_ellipsis(shaped : Int64, char : Int64) : Void
Sourceshaped_text_set_custom_punctuation(shaped : Int64, punct : String) : Void
Sourceshaped_text_set_direction(shaped : Int64, direction : Int64) : Void
Sourceshaped_text_set_orientation(shaped : Int64, orientation : Int64) : Void
Sourceshaped_text_set_preserve_control(shaped : Int64, enabled : Bool) : Void
Sourceshaped_text_set_preserve_invalid(shaped : Int64, enabled : Bool) : Void
Sourceshaped_text_set_spacing(shaped : Int64, spacing : Int64, value : Int64) : Void
Sourceshaped_text_shape(shaped : Int64) : Bool
Sourceshaped_text_sort_logical(shaped : Int64) : Godot::Array
Sourceshaped_text_substr(shaped : Int64, start : Int64, length : Int64) : Int64
Sourceshaped_text_tab_align(shaped : Int64, tab_stops : Pointer(Void)) : Float64
Sourcespoof_check(string : String) : Bool
Sourcestring_get_character_breaks(string : String, language : String) : Pointer(Void)
Sourcestring_get_word_breaks(string : String, language : String, chars_per_line : Int64) : Pointer(Void)
Sourcestring_to_lower(string : String, language : String) : String
Sourcestring_to_title(string : String, language : String) : String
Sourcestring_to_upper(string : String, language : String) : String
Sourcestrip_diacritics(string : String) : String
Sourcetag_to_name(tag : Int64) : String
SourceNested types
- Godot::TextServer::AutowrapMode
- Godot::TextServer::ContourPointTag
- Godot::TextServer::Direction
- Godot::TextServer::Feature
- Godot::TextServer::FixedSizeScaleMode
- Godot::TextServer::FontAntialiasing
- Godot::TextServer::FontLCDSubpixelLayout
- Godot::TextServer::FontStyle
- Godot::TextServer::GraphemeFlag
- Godot::TextServer::Hinting
- Godot::TextServer::JustificationFlag
- Godot::TextServer::LineBreakFlag
- Godot::TextServer::Orientation
- Godot::TextServer::OverrunBehavior
- Godot::TextServer::SpacingType
- Godot::TextServer::StructuredTextParser
- Godot::TextServer::SubpixelPositioning
- Godot::TextServer::TextOverrunFlag
- Godot::TextServer::VisibleCharactersBehavior