Godot::Font
Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
draw_char(canvas_item : Int64, pos : Vector2, char : Int64, font_size : Int64, modulate : Color, oversampling : Float64) : Float64
Sourcedraw_char_outline(canvas_item : Int64, pos : Vector2, char : Int64, font_size : Int64, size : Int64, modulate : Color, oversampling : Float64) : Float64
Sourcedraw_multiline_string(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, max_lines : Int64, modulate : Color, brk_flags : Int64, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
Sourcedraw_multiline_string_outline(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, max_lines : Int64, size : Int64, modulate : Color, brk_flags : Int64, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
Sourcedraw_string(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, modulate : Color, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
Sourcedraw_string_outline(canvas_item : Int64, pos : Vector2, text : String, alignment : Int64, width : Float64, font_size : Int64, size : Int64, modulate : Color, justification_flags : Int64, direction : Int64, orientation : Int64, oversampling : Float64) : Void
Sourcefind_variation(variation_coordinates : Pointer(Void), face_index : Int64, strength : Float64, transform : Transform2D, spacing_top : Int64, spacing_bottom : Int64, spacing_space : Int64, spacing_glyph : Int64, baseline_offset : Float64, palette_index : Int64, custom_colors : Pointer(Void)) : Int64
Sourceget_ascent(font_size : Int64) : Float64
Sourceget_descent(font_size : Int64) : Float64
Sourceget_face_count
Sourceget_fallbacks
Sourceget_font_name
Sourceget_font_stretch
Sourceget_font_style
Sourceget_font_style_name
Sourceget_font_weight
Sourceget_height(font_size : Int64) : Float64
Sourceget_multiline_string_size(text : String, alignment : Int64, width : Float64, font_size : Int64, max_lines : Int64, brk_flags : Int64, justification_flags : Int64, direction : Int64, orientation : Int64) : Vector2
Sourceget_opentype_features
Sourceget_ot_name_strings
Sourceget_palette_colors(index : Int64) : Pointer(Void)
Sourceget_palette_count
Sourceget_palette_name(index : Int64) : String
Sourceget_rids
Sourceget_spacing(spacing : Int64) : Int64
Sourceget_string_size(text : String, alignment : Int64, width : Float64, font_size : Int64, justification_flags : Int64, direction : Int64, orientation : Int64) : Vector2
Sourceget_supported_chars
Sourceget_supported_feature_list
Sourceget_supported_variation_list
Sourceget_underline_position(font_size : Int64) : Float64
Sourceget_underline_thickness(font_size : Int64) : Float64
Sourcehas_char(char : Int64) : Bool
Sourceis_language_supported(language : String) : Bool
Sourceis_script_supported(script : String) : Bool
Sourceset_cache_capacity(single_line : Int64, multi_line : Int64) : Void
Sourceset_fallbacks(fallbacks : Godot::Array) : Void
Source