Inherits: StyleBox<class_stylebox>
< Resource<class_resource>
< Reference<class_reference>
< Object<class_object>
Category: Core
Texture Based 3x3 scale style.
void | set_expand_margin_all<class_StyleBoxTexture_set_expand_margin_all> ( float<class_float> size ) |
void | set_expand_margin_individual<class_StyleBoxTexture_set_expand_margin_individual> ( float<class_float> size_left, float<class_float> size_top, float<class_float> size_right, float<class_float> size_bottom ) |
- texture_changed ( )
AxisStretchMode<enum_styleboxtexture_axisstretchmode>
axis_stretch_horizontalAxisStretchMode<enum_styleboxtexture_axisstretchmode>
axis_stretch_verticalbool<class_bool>
draw_centerfloat<class_float>
expand_margin_bottomfloat<class_float>
expand_margin_leftfloat<class_float>
expand_margin_rightfloat<class_float>
expand_margin_topfloat<class_float>
margin_bottomfloat<class_float>
margin_leftfloat<class_float>
margin_rightfloat<class_float>
margin_topColor<class_color>
modulate_colorResource<class_resource>
normal_mapRect2<class_rect2>
region_rectResource<class_resource>
texture
enum AxisStretchMode
- AXIS_STRETCH_MODE_STRETCH = 0
- AXIS_STRETCH_MODE_TILE = 1
- AXIS_STRETCH_MODE_TILE_FIT = 2
Texture Based 3x3 scale style. This stylebox performs a 3x3 scaling of a texture, where only the center cell is fully stretched. This allows for the easy creation of bordered styles.
- void set_expand_margin_all (
float<class_float>
size )
- void set_expand_margin_individual (
float<class_float>
size_left,float<class_float>
size_top,float<class_float>
size_right,float<class_float>
size_bottom )