RichTextLabel
Inherits: Control < CanvasItem < Node < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
clip_contents |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
void |
add_image ( Texture2D image, int width=0, int height=0, Color color=Color(1, 1, 1, 1), InlineAlignment inline_align=5, Rect2 region=Rect2(0, 0, 0, 0), Variant key=null, bool pad=false, String tooltip=””, bool size_in_percent=false ) |
void |
|
void |
append_text ( String bbcode ) |
void |
clear ( ) |
void |
deselect ( ) |
get_character_line ( int character ) |
|
get_character_paragraph ( int character ) |
|
get_content_height ( ) const |
|
get_content_width ( ) const |
|
get_line_count ( ) const |
|
get_line_offset ( int line ) |
|
get_menu ( ) const |
|
get_paragraph_count ( ) const |
|
get_paragraph_offset ( int paragraph ) |
|
get_parsed_text ( ) const |
|
get_selected_text ( ) const |
|
get_selection_from ( ) const |
|
get_selection_to ( ) const |
|
get_total_character_count ( ) const |
|
get_v_scroll_bar ( ) |
|
get_visible_line_count ( ) const |
|
get_visible_paragraph_count ( ) const |
|
void |
install_effect ( Variant effect ) |
invalidate_paragraph ( int paragraph ) |
|
is_menu_visible ( ) const |
|
is_ready ( ) const |
|
void |
menu_option ( int option ) |
void |
newline ( ) |
void |
parse_bbcode ( String bbcode ) |
parse_expressions_for_values ( PackedStringArray expressions ) |
|
void |
pop ( ) |
void |
pop_all ( ) |
void |
pop_context ( ) |
void |
push_bgcolor ( Color bgcolor ) |
void |
push_bold ( ) |
void |
|
void |
push_cell ( ) |
void |
push_color ( Color color ) |
void |
push_context ( ) |
void |
push_customfx ( RichTextEffect effect, Dictionary env ) |
void |
push_dropcap ( String string, Font font, int size, Rect2 dropcap_margins=Rect2(0, 0, 0, 0), Color color=Color(1, 1, 1, 1), int outline_size=0, Color outline_color=Color(0, 0, 0, 0) ) |
void |
push_fgcolor ( Color fgcolor ) |
void |
|
void |
push_font_size ( int font_size ) |
void |
|
void |
push_indent ( int level ) |
void |
push_italics ( ) |
void |
push_language ( String language ) |
void |
push_list ( int level, ListType type, bool capitalize, String bullet=”•” ) |
void |
push_meta ( Variant data, MetaUnderline underline_mode=1 ) |
void |
push_mono ( ) |
void |
push_normal ( ) |
void |
push_outline_color ( Color color ) |
void |
push_outline_size ( int outline_size ) |
void |
push_paragraph ( HorizontalAlignment alignment, TextDirection base_direction=0, String language=””, StructuredTextParser st_parser=0, BitField<JustificationFlag> justification_flags=163, PackedFloat32Array tab_stops=PackedFloat32Array() ) |
void |
|
void |
push_table ( int columns, InlineAlignment inline_align=0, int align_to_row=-1 ) |
void |
push_underline ( ) |
remove_paragraph ( int paragraph, bool no_invalidate=false ) |
|
void |
scroll_to_line ( int line ) |
void |
scroll_to_paragraph ( int paragraph ) |
void |
|
void |
select_all ( ) |
void |
set_cell_border_color ( Color color ) |
void |
set_cell_padding ( Rect2 padding ) |
void |
set_cell_row_background_color ( Color odd_row_bg, Color even_row_bg ) |
void |
set_cell_size_override ( Vector2 min_size, Vector2 max_size ) |
void |
set_table_column_expand ( int column, bool expand, int ratio=1 ) |
void |
update_image ( Variant key, BitField<ImageUpdateMask> mask, Texture2D image, int width=0, int height=0, Color color=Color(1, 1, 1, 1), InlineAlignment inline_align=5, Rect2 region=Rect2(0, 0, 0, 0), bool pad=false, String tooltip=””, bool size_in_percent=false ) |
Theme Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Signals
finished ( )
There is currently no description for this signal. Please help us by contributing one!
meta_clicked ( Variant meta )
There is currently no description for this signal. Please help us by contributing one!
meta_hover_ended ( Variant meta )
There is currently no description for this signal. Please help us by contributing one!
meta_hover_started ( Variant meta )
There is currently no description for this signal. Please help us by contributing one!
Enumerations
enum ListType:
ListType LIST_NUMBERS = 0
There is currently no description for this enum. Please help us by contributing one!
ListType LIST_LETTERS = 1
There is currently no description for this enum. Please help us by contributing one!
ListType LIST_ROMAN = 2
There is currently no description for this enum. Please help us by contributing one!
ListType LIST_DOTS = 3
There is currently no description for this enum. Please help us by contributing one!
There is currently no description for this enum. Please help us by contributing one!
There is currently no description for this enum. Please help us by contributing one!
There is currently no description for this enum. Please help us by contributing one!
enum MetaUnderline:
MetaUnderline META_UNDERLINE_NEVER = 0
There is currently no description for this enum. Please help us by contributing one!
MetaUnderline META_UNDERLINE_ALWAYS = 1
There is currently no description for this enum. Please help us by contributing one!
MetaUnderline META_UNDERLINE_ON_HOVER = 2
There is currently no description for this enum. Please help us by contributing one!
flags ImageUpdateMask:
ImageUpdateMask UPDATE_TEXTURE = 1
There is currently no description for this enum. Please help us by contributing one!
ImageUpdateMask UPDATE_SIZE = 2
There is currently no description for this enum. Please help us by contributing one!
ImageUpdateMask UPDATE_COLOR = 4
There is currently no description for this enum. Please help us by contributing one!
ImageUpdateMask UPDATE_ALIGNMENT = 8
There is currently no description for this enum. Please help us by contributing one!
ImageUpdateMask UPDATE_REGION = 16
There is currently no description for this enum. Please help us by contributing one!
ImageUpdateMask UPDATE_PAD = 32
There is currently no description for this enum. Please help us by contributing one!
ImageUpdateMask UPDATE_TOOLTIP = 64
There is currently no description for this enum. Please help us by contributing one!
ImageUpdateMask UPDATE_WIDTH_IN_PERCENT = 128
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
AutowrapMode autowrap_mode = 3
void set_autowrap_mode ( AutowrapMode value )
AutowrapMode get_autowrap_mode ( )
There is currently no description for this property. Please help us by contributing one!
bool bbcode_enabled = false
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
Array custom_effects = []
There is currently no description for this property. Please help us by contributing one!
bool deselect_on_focus_loss_enabled = true
There is currently no description for this property. Please help us by contributing one!
bool drag_and_drop_selection_enabled = true
There is currently no description for this property. Please help us by contributing one!
bool fit_content = false
There is currently no description for this property. Please help us by contributing one!
bool hint_underlined = true
There is currently no description for this property. Please help us by contributing one!
String language = ""
There is currently no description for this property. Please help us by contributing one!
bool meta_underlined = true
There is currently no description for this property. Please help us by contributing one!
int progress_bar_delay = 1000
There is currently no description for this property. Please help us by contributing one!
bool scroll_active = true
There is currently no description for this property. Please help us by contributing one!
bool scroll_following = false
There is currently no description for this property. Please help us by contributing one!
bool selection_enabled = false
There is currently no description for this property. Please help us by contributing one!
bool shortcut_keys_enabled = true
There is currently no description for this property. Please help us by contributing one!
StructuredTextParser structured_text_bidi_override = 0
void set_structured_text_bidi_override ( StructuredTextParser value )
StructuredTextParser get_structured_text_bidi_override ( )
There is currently no description for this property. Please help us by contributing one!
Array structured_text_bidi_override_options = []
void set_structured_text_bidi_override_options ( Array value )
Array get_structured_text_bidi_override_options ( )
There is currently no description for this property. Please help us by contributing one!
int tab_size = 4
There is currently no description for this property. Please help us by contributing one!
String text = ""
There is currently no description for this property. Please help us by contributing one!
TextDirection text_direction = 0
void set_text_direction ( TextDirection value )
TextDirection get_text_direction ( )
There is currently no description for this property. Please help us by contributing one!
bool threaded = false
There is currently no description for this property. Please help us by contributing one!
int visible_characters = -1
There is currently no description for this property. Please help us by contributing one!
VisibleCharactersBehavior visible_characters_behavior = 0
void set_visible_characters_behavior ( VisibleCharactersBehavior value )
VisibleCharactersBehavior get_visible_characters_behavior ( )
There is currently no description for this property. Please help us by contributing one!
float visible_ratio = 1.0
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void add_image ( Texture2D image, int width=0, int height=0, Color color=Color(1, 1, 1, 1), InlineAlignment inline_align=5, Rect2 region=Rect2(0, 0, 0, 0), Variant key=null, bool pad=false, String tooltip=””, bool size_in_percent=false )
There is currently no description for this method. Please help us by contributing one!
void add_text ( String text )
There is currently no description for this method. Please help us by contributing one!
void append_text ( String bbcode )
There is currently no description for this method. Please help us by contributing one!
void clear ( )
There is currently no description for this method. Please help us by contributing one!
void deselect ( )
There is currently no description for this method. Please help us by contributing one!
int get_character_line ( int character )
There is currently no description for this method. Please help us by contributing one!
int get_character_paragraph ( int character )
There is currently no description for this method. Please help us by contributing one!
int get_content_height ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_content_width ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_line_count ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_line_offset ( int line )
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
int get_paragraph_count ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_paragraph_offset ( int paragraph )
There is currently no description for this method. Please help us by contributing one!
String get_parsed_text ( ) const
There is currently no description for this method. Please help us by contributing one!
String get_selected_text ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_selection_from ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_selection_to ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_total_character_count ( ) const
There is currently no description for this method. Please help us by contributing one!
VScrollBar get_v_scroll_bar ( )
There is currently no description for this method. Please help us by contributing one!
int get_visible_line_count ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_visible_paragraph_count ( ) const
There is currently no description for this method. Please help us by contributing one!
void install_effect ( Variant effect )
There is currently no description for this method. Please help us by contributing one!
bool invalidate_paragraph ( int paragraph )
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
bool is_ready ( ) const
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
void newline ( )
There is currently no description for this method. Please help us by contributing one!
void parse_bbcode ( String bbcode )
There is currently no description for this method. Please help us by contributing one!
Dictionary parse_expressions_for_values ( PackedStringArray expressions )
There is currently no description for this method. Please help us by contributing one!
void pop ( )
There is currently no description for this method. Please help us by contributing one!
void pop_all ( )
There is currently no description for this method. Please help us by contributing one!
void pop_context ( )
There is currently no description for this method. Please help us by contributing one!
void push_bgcolor ( Color bgcolor )
There is currently no description for this method. Please help us by contributing one!
void push_bold ( )
There is currently no description for this method. Please help us by contributing one!
void push_bold_italics ( )
There is currently no description for this method. Please help us by contributing one!
void push_cell ( )
There is currently no description for this method. Please help us by contributing one!
void push_color ( Color color )
There is currently no description for this method. Please help us by contributing one!
void push_context ( )
There is currently no description for this method. Please help us by contributing one!
void push_customfx ( RichTextEffect effect, Dictionary env )
There is currently no description for this method. Please help us by contributing one!
void push_dropcap ( String string, Font font, int size, Rect2 dropcap_margins=Rect2(0, 0, 0, 0), Color color=Color(1, 1, 1, 1), int outline_size=0, Color outline_color=Color(0, 0, 0, 0) )
There is currently no description for this method. Please help us by contributing one!
void push_fgcolor ( Color fgcolor )
There is currently no description for this method. Please help us by contributing one!
void push_font ( Font font, int font_size=0 )
There is currently no description for this method. Please help us by contributing one!
void push_font_size ( int font_size )
There is currently no description for this method. Please help us by contributing one!
void push_hint ( String description )
There is currently no description for this method. Please help us by contributing one!
void push_indent ( int level )
There is currently no description for this method. Please help us by contributing one!
void push_italics ( )
There is currently no description for this method. Please help us by contributing one!
void push_language ( String language )
There is currently no description for this method. Please help us by contributing one!
void push_list ( int level, ListType type, bool capitalize, String bullet=”•” )
There is currently no description for this method. Please help us by contributing one!
void push_meta ( Variant data, MetaUnderline underline_mode=1 )
There is currently no description for this method. Please help us by contributing one!
void push_mono ( )
There is currently no description for this method. Please help us by contributing one!
void push_normal ( )
There is currently no description for this method. Please help us by contributing one!
void push_outline_color ( Color color )
There is currently no description for this method. Please help us by contributing one!
void push_outline_size ( int outline_size )
There is currently no description for this method. Please help us by contributing one!
void push_paragraph ( HorizontalAlignment alignment, TextDirection base_direction=0, String language=””, StructuredTextParser st_parser=0, BitField<JustificationFlag> justification_flags=163, PackedFloat32Array tab_stops=PackedFloat32Array() )
There is currently no description for this method. Please help us by contributing one!
void push_strikethrough ( )
There is currently no description for this method. Please help us by contributing one!
void push_table ( int columns, InlineAlignment inline_align=0, int align_to_row=-1 )
There is currently no description for this method. Please help us by contributing one!
void push_underline ( )
There is currently no description for this method. Please help us by contributing one!
bool remove_paragraph ( int paragraph, bool no_invalidate=false )
There is currently no description for this method. Please help us by contributing one!
void scroll_to_line ( int line )
There is currently no description for this method. Please help us by contributing one!
void scroll_to_paragraph ( int paragraph )
There is currently no description for this method. Please help us by contributing one!
void scroll_to_selection ( )
There is currently no description for this method. Please help us by contributing one!
void select_all ( )
There is currently no description for this method. Please help us by contributing one!
void set_cell_border_color ( Color color )
There is currently no description for this method. Please help us by contributing one!
void set_cell_padding ( Rect2 padding )
There is currently no description for this method. Please help us by contributing one!
void set_cell_row_background_color ( Color odd_row_bg, Color even_row_bg )
There is currently no description for this method. Please help us by contributing one!
void set_cell_size_override ( Vector2 min_size, Vector2 max_size )
There is currently no description for this method. Please help us by contributing one!
void set_table_column_expand ( int column, bool expand, int ratio=1 )
There is currently no description for this method. Please help us by contributing one!
void update_image ( Variant key, BitField<ImageUpdateMask> mask, Texture2D image, int width=0, int height=0, Color color=Color(1, 1, 1, 1), InlineAlignment inline_align=5, Rect2 region=Rect2(0, 0, 0, 0), bool pad=false, String tooltip=””, bool size_in_percent=false )
There is currently no description for this method. Please help us by contributing one!
Theme Property Descriptions
Color default_color = Color(1, 1, 1, 1)
There is currently no description for this theme property. Please help us by contributing one!
Color font_outline_color = Color(0, 0, 0, 1)
There is currently no description for this theme property. Please help us by contributing one!
Color font_selected_color = Color(0, 0, 0, 0)
There is currently no description for this theme property. Please help us by contributing one!
Color font_shadow_color = Color(0, 0, 0, 0)
There is currently no description for this theme property. Please help us by contributing one!
Color selection_color = Color(0.1, 0.1, 1, 0.8)
There is currently no description for this theme property. Please help us by contributing one!
Color table_border = Color(0, 0, 0, 0)
There is currently no description for this theme property. Please help us by contributing one!
Color table_even_row_bg = Color(0, 0, 0, 0)
There is currently no description for this theme property. Please help us by contributing one!
Color table_odd_row_bg = Color(0, 0, 0, 0)
There is currently no description for this theme property. Please help us by contributing one!
int line_separation = 0
There is currently no description for this theme property. Please help us by contributing one!
int outline_size = 0
There is currently no description for this theme property. Please help us by contributing one!
int shadow_offset_x = 1
There is currently no description for this theme property. Please help us by contributing one!
int shadow_offset_y = 1
There is currently no description for this theme property. Please help us by contributing one!
int shadow_outline_size = 1
There is currently no description for this theme property. Please help us by contributing one!
int table_h_separation = 3
There is currently no description for this theme property. Please help us by contributing one!
int table_v_separation = 3
There is currently no description for this theme property. Please help us by contributing one!
int text_highlight_h_padding = 3
There is currently no description for this theme property. Please help us by contributing one!
int text_highlight_v_padding = 3
There is currently no description for this theme property. Please help us by contributing one!
Font bold_font
There is currently no description for this theme property. Please help us by contributing one!
Font bold_italics_font
There is currently no description for this theme property. Please help us by contributing one!
Font italics_font
There is currently no description for this theme property. Please help us by contributing one!
Font mono_font
There is currently no description for this theme property. Please help us by contributing one!
Font normal_font
There is currently no description for this theme property. Please help us by contributing one!
int bold_font_size
There is currently no description for this theme property. Please help us by contributing one!
int bold_italics_font_size
There is currently no description for this theme property. Please help us by contributing one!
int italics_font_size
There is currently no description for this theme property. Please help us by contributing one!
int mono_font_size
There is currently no description for this theme property. Please help us by contributing one!
int normal_font_size
There is currently no description for this theme property. Please help us by contributing one!
StyleBox focus
There is currently no description for this theme property. Please help us by contributing one!
StyleBox normal
There is currently no description for this theme property. Please help us by contributing one!