godot / 2.1.6 / classes / class_styleboxflat.html /

StyleBoxFlat

Inherits: StyleBox < Resource < Reference < Object

Category: Core

Brief Description

Stylebox of a single color.

Member Functions

Color get_bg_color ( ) const
bool get_border_blend ( ) const
int get_border_size ( ) const
Color get_dark_color ( ) const
bool get_draw_center ( ) const
Color get_light_color ( ) const
void set_bg_color ( Color color )
void set_border_blend ( bool blend )
void set_border_size ( int size )
void set_dark_color ( Color color )
void set_draw_center ( bool size )
void set_light_color ( Color color )

Description

Stylebox of a single color. Displays the stylebox of a single color, alternatively a border with light/dark colors can be assigned.

Member Function Description

Color get_bg_color ( ) const

bool get_border_blend ( ) const

int get_border_size ( ) const

Color get_dark_color ( ) const

bool get_draw_center ( ) const

Color get_light_color ( ) const

void set_bg_color ( Color color )

void set_border_blend ( bool blend )

void set_border_size ( int size )

void set_dark_color ( Color color )

void set_draw_center ( bool size )

void set_light_color ( Color color )

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_styleboxflat.html