Label

Inherits: Control < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

AutowrapMode

autowrap_mode

0

bool

clip_text

false

String

ellipsis_char

"…"

HorizontalAlignment

horizontal_alignment

0

BitField<JustificationFlag>

justification_flags

163

LabelSettings

label_settings

String

language

""

int

lines_skipped

0

int

max_lines_visible

-1

MouseFilter

mouse_filter

2 (overrides Control)

BitField<SizeFlags>

size_flags_vertical

4 (overrides Control)

StructuredTextParser

structured_text_bidi_override

0

Array

structured_text_bidi_override_options

[]

PackedFloat32Array

tab_stops

PackedFloat32Array()

String

text

""

TextDirection

text_direction

0

OverrunBehavior

text_overrun_behavior

0

bool

uppercase

false

VerticalAlignment

vertical_alignment

0

int

visible_characters

-1

VisibleCharactersBehavior

visible_characters_behavior

0

float

visible_ratio

1.0

Methods

Rect2

get_character_bounds ( int pos ) const

int

get_line_count ( ) const

int

get_line_height ( int line=-1 ) const

int

get_total_character_count ( ) const

int

get_visible_line_count ( ) const

Theme Properties

Color

font_color

Color(1, 1, 1, 1)

Color

font_outline_color

Color(0, 0, 0, 1)

Color

font_shadow_color

Color(0, 0, 0, 0)

int

line_spacing

3

int

outline_size

0

int

shadow_offset_x

1

int

shadow_offset_y

1

int

shadow_outline_size

1

Font

font

int

font_size

StyleBox

normal


Property Descriptions

AutowrapMode autowrap_mode = 0

There is currently no description for this property. Please help us by contributing one!


bool clip_text = false

  • void set_clip_text ( bool value )

  • bool is_clipping_text ( )

There is currently no description for this property. Please help us by contributing one!


String ellipsis_char = "…"

  • void set_ellipsis_char ( String value )

  • String get_ellipsis_char ( )

There is currently no description for this property. Please help us by contributing one!


HorizontalAlignment horizontal_alignment = 0

There is currently no description for this property. Please help us by contributing one!


BitField<JustificationFlag> justification_flags = 163

There is currently no description for this property. Please help us by contributing one!


LabelSettings label_settings

There is currently no description for this property. Please help us by contributing one!


String language = ""

  • void set_language ( String value )

  • String get_language ( )

There is currently no description for this property. Please help us by contributing one!


int lines_skipped = 0

  • void set_lines_skipped ( int value )

  • int get_lines_skipped ( )

There is currently no description for this property. Please help us by contributing one!


int max_lines_visible = -1

  • void set_max_lines_visible ( int value )

  • int get_max_lines_visible ( )

There is currently no description for this property. Please help us by contributing one!


StructuredTextParser structured_text_bidi_override = 0

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!


PackedFloat32Array tab_stops = PackedFloat32Array()

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

There is currently no description for this property. Please help us by contributing one!


OverrunBehavior text_overrun_behavior = 0

There is currently no description for this property. Please help us by contributing one!


bool uppercase = false

  • void set_uppercase ( bool value )

  • bool is_uppercase ( )

There is currently no description for this property. Please help us by contributing one!


VerticalAlignment vertical_alignment = 0

There is currently no description for this property. Please help us by contributing one!


int visible_characters = -1

  • void set_visible_characters ( int value )

  • int get_visible_characters ( )

There is currently no description for this property. Please help us by contributing one!


VisibleCharactersBehavior visible_characters_behavior = 0

There is currently no description for this property. Please help us by contributing one!


float visible_ratio = 1.0

  • void set_visible_ratio ( float value )

  • float get_visible_ratio ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

Rect2 get_character_bounds ( int pos ) 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!


int get_line_height ( int line=-1 ) 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!


int get_visible_line_count ( ) const

There is currently no description for this method. Please help us by contributing one!


Theme Property Descriptions

Color font_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_shadow_color = Color(0, 0, 0, 0)

There is currently no description for this theme property. Please help us by contributing one!


int line_spacing = 3

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!


Font font

There is currently no description for this theme property. Please help us by contributing one!


int font_size

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!