LabelSettings

Inherits: Resource < RefCounted < Object

Properties

Font

font

Color

font_color

Color(1, 1, 1, 1)

int

font_size

16

float

line_spacing

3.0

Color

outline_color

Color(1, 1, 1, 1)

int

outline_size

0

Color

shadow_color

Color(0, 0, 0, 0)

Vector2

shadow_offset

Vector2(1, 1)

int

shadow_size

1

Property Descriptions

Setter

set_font(value)

Getter

get_font()


Default

Color(1, 1, 1, 1)

Setter

set_font_color(value)

Getter

get_font_color()


  • int font_size

Default

16

Setter

set_font_size(value)

Getter

get_font_size()


Default

3.0

Setter

set_line_spacing(value)

Getter

get_line_spacing()


Default

Color(1, 1, 1, 1)

Setter

set_outline_color(value)

Getter

get_outline_color()


  • int outline_size

Default

0

Setter

set_outline_size(value)

Getter

get_outline_size()


Default

Color(0, 0, 0, 0)

Setter

set_shadow_color(value)

Getter

get_shadow_color()


Default

Vector2(1, 1)

Setter

set_shadow_offset(value)

Getter

get_shadow_offset()


  • int shadow_size

Default

1

Setter

set_shadow_size(value)

Getter

get_shadow_size()