class

Godot::TextParagraph

Inherits Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_object(key : Pointer(Void), size : Vector2, inline_align : Int64, length : Int64, baseline : Float64) : Bool
Source
add_string(text : String, font : Font, font_size : Int64, language : String, meta : Pointer(Void)) : Bool
Source
alignment

Property alignment getter

Source
alignment=(val : Int)

Property alignment setter

Source
break_flags

Property break_flags getter

Source
break_flags=(val : Int)

Property break_flags setter

Source
clear
Source
clear_dropcap
Source
custom_punctuation

Property custom_punctuation getter

Source
custom_punctuation=(val)

Property custom_punctuation setter

Source
direction

Property direction getter

Source
direction=(val : Int)

Property direction setter

Source
draw(canvas : Int64, pos : Vector2, color : Color, dc_color : Color, oversampling : Float64) : Void
Source
draw_dropcap(canvas : Int64, pos : Vector2, color : Color, oversampling : Float64) : Void
Source
draw_dropcap_outline(canvas : Int64, pos : Vector2, outline_size : Int64, color : Color, oversampling : Float64) : Void
Source
draw_line(canvas : Int64, pos : Vector2, line : Int64, color : Color, oversampling : Float64) : Void
Source
draw_line_outline(canvas : Int64, pos : Vector2, line : Int64, outline_size : Int64, color : Color, oversampling : Float64) : Void
Source
draw_outline(canvas : Int64, pos : Vector2, outline_size : Int64, color : Color, dc_color : Color, oversampling : Float64) : Void
Source
duplicate
Source
ellipsis_char

Property ellipsis_char getter

Source
ellipsis_char=(val)

Property ellipsis_char setter

Source
get_alignment
Source
get_break_flags
Source
get_custom_punctuation
Source
get_direction
Source
get_dropcap_lines
Source
get_dropcap_rid
Source
get_dropcap_size
Source
get_ellipsis_char
Source
get_inferred_direction
Source
get_justification_flags
Source
get_line_ascent(line : Int64) : Float64
Source
get_line_count
Source
get_line_descent(line : Int64) : Float64
Source
get_line_object_rect(line : Int64, key : Pointer(Void)) : Rect2
Source
get_line_objects(line : Int64) : Godot::Array
Source
get_line_range(line : Int64) : Vector2i
Source
get_line_rid(line : Int64) : Int64
Source
get_line_size(line : Int64) : Vector2
Source
get_line_spacing
Source
get_line_underline_position(line : Int64) : Float64
Source
get_line_underline_thickness(line : Int64) : Float64
Source
get_line_width(line : Int64) : Float64
Source
get_max_lines_visible
Source
get_non_wrapped_size
Source
get_orientation
Source
get_preserve_control
Source
get_preserve_invalid
Source
get_range
Source
get_rid
Source
get_size
Source
get_text_overrun_behavior
Source
get_width
Source
has_object(key : Pointer(Void)) : Bool
Source
hit_test(coords : Vector2) : Int64
Source
justification_flags

Property justification_flags getter

Source
justification_flags=(val : Int)

Property justification_flags setter

Source
line_spacing

Property line_spacing getter

Source
line_spacing=(val : Number)

Property line_spacing setter

Source
max_lines_visible

Property max_lines_visible getter

Source
max_lines_visible=(val : Int)

Property max_lines_visible setter

Source
orientation

Property orientation getter

Source
orientation=(val : Int)

Property orientation setter

Source
preserve_control

Property preserve_control getter

Source
preserve_control=(val)

Property preserve_control setter

Source
preserve_control?
Source
preserve_invalid

Property preserve_invalid getter

Source
preserve_invalid=(val)

Property preserve_invalid setter

Source
preserve_invalid?
Source
resize_object(key : Pointer(Void), size : Vector2, inline_align : Int64, baseline : Float64) : Bool
Source
set_alignment(alignment : Int64) : Void
Source
set_bidi_override(override : Godot::Array) : Void
Source
set_break_flags(flags : Int64) : Void
Source
set_custom_punctuation(custom_punctuation : String) : Void
Source
set_direction(direction : Int64) : Void
Source
set_dropcap(text : String, font : Font, font_size : Int64, dropcap_margins : Rect2, language : String) : Bool
Source
set_ellipsis_char(char : String) : Void
Source
set_justification_flags(flags : Int64) : Void
Source
set_line_spacing(line_spacing : Float64) : Void
Source
set_max_lines_visible(max_lines_visible : Int64) : Void
Source
set_orientation(orientation : Int64) : Void
Source
set_preserve_control(enabled : Bool) : Void
Source
set_preserve_invalid(enabled : Bool) : Void
Source
set_text_overrun_behavior(overrun_behavior : Int64) : Void
Source
set_width(width : Float64) : Void
Source
tab_align(tab_stops : Pointer(Void)) : Void
Source
text_overrun_behavior

Property text_overrun_behavior getter

Source
text_overrun_behavior=(val : Int)

Property text_overrun_behavior setter

Source
width

Property width getter

Source
width=(val : Number)

Property width setter

Source