StyleBoxFlat

Inherits: StyleBox < Resource < RefCounted < Object

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

Properties

bool

anti_aliasing

true

float

anti_aliasing_size

1.0

Color

bg_color

Color(0.6, 0.6, 0.6, 1)

bool

border_blend

false

Color

border_color

Color(0.8, 0.8, 0.8, 1)

int

border_width_bottom

0

int

border_width_left

0

int

border_width_right

0

int

border_width_top

0

int

corner_detail

8

int

corner_radius_bottom_left

0

int

corner_radius_bottom_right

0

int

corner_radius_top_left

0

int

corner_radius_top_right

0

bool

draw_center

true

float

expand_margin_bottom

0.0

float

expand_margin_left

0.0

float

expand_margin_right

0.0

float

expand_margin_top

0.0

Color

shadow_color

Color(0, 0, 0, 0.6)

Vector2

shadow_offset

Vector2(0, 0)

int

shadow_size

0

Vector2

skew

Vector2(0, 0)

Methods

int

get_border_width ( Side margin ) const

int

get_border_width_min ( ) const

int

get_corner_radius ( Corner corner ) const

float

get_expand_margin ( Side margin ) const

void

set_border_width ( Side margin, int width )

void

set_border_width_all ( int width )

void

set_corner_radius ( Corner corner, int radius )

void

set_corner_radius_all ( int radius )

void

set_expand_margin ( Side margin, float size )

void

set_expand_margin_all ( float size )


Property Descriptions

bool anti_aliasing = true

  • void set_anti_aliased ( bool value )

  • bool is_anti_aliased ( )

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


float anti_aliasing_size = 1.0

  • void set_aa_size ( float value )

  • float get_aa_size ( )

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


Color bg_color = Color(0.6, 0.6, 0.6, 1)

  • void set_bg_color ( Color value )

  • Color get_bg_color ( )

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


bool border_blend = false

  • void set_border_blend ( bool value )

  • bool get_border_blend ( )

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


Color border_color = Color(0.8, 0.8, 0.8, 1)

  • void set_border_color ( Color value )

  • Color get_border_color ( )

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


int border_width_bottom = 0

  • void set_border_width ( Side margin, int width )

  • int get_border_width ( Side margin ) const

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


int border_width_left = 0

  • void set_border_width ( Side margin, int width )

  • int get_border_width ( Side margin ) const

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


int border_width_right = 0

  • void set_border_width ( Side margin, int width )

  • int get_border_width ( Side margin ) const

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


int border_width_top = 0

  • void set_border_width ( Side margin, int width )

  • int get_border_width ( Side margin ) const

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


int corner_detail = 8

  • void set_corner_detail ( int value )

  • int get_corner_detail ( )

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


int corner_radius_bottom_left = 0

  • void set_corner_radius ( Corner corner, int radius )

  • int get_corner_radius ( Corner corner ) const

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


int corner_radius_bottom_right = 0

  • void set_corner_radius ( Corner corner, int radius )

  • int get_corner_radius ( Corner corner ) const

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


int corner_radius_top_left = 0

  • void set_corner_radius ( Corner corner, int radius )

  • int get_corner_radius ( Corner corner ) const

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


int corner_radius_top_right = 0

  • void set_corner_radius ( Corner corner, int radius )

  • int get_corner_radius ( Corner corner ) const

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


bool draw_center = true

  • void set_draw_center ( bool value )

  • bool is_draw_center_enabled ( )

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


float expand_margin_bottom = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

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


float expand_margin_left = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

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


float expand_margin_right = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

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


float expand_margin_top = 0.0

  • void set_expand_margin ( Side margin, float size )

  • float get_expand_margin ( Side margin ) const

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


Color shadow_color = Color(0, 0, 0, 0.6)

  • void set_shadow_color ( Color value )

  • Color get_shadow_color ( )

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


Vector2 shadow_offset = Vector2(0, 0)

  • void set_shadow_offset ( Vector2 value )

  • Vector2 get_shadow_offset ( )

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


int shadow_size = 0

  • void set_shadow_size ( int value )

  • int get_shadow_size ( )

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


Vector2 skew = Vector2(0, 0)

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


Method Descriptions

int get_border_width ( Side margin ) const

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


int get_border_width_min ( ) const

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


int get_corner_radius ( Corner corner ) const

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


float get_expand_margin ( Side margin ) const

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


void set_border_width ( Side margin, int width )

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


void set_border_width_all ( int width )

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


void set_corner_radius ( Corner corner, int radius )

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


void set_corner_radius_all ( int radius )

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


void set_expand_margin ( Side margin, float size )

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


void set_expand_margin_all ( float size )

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