class_styleboxtexture - dragonsoulz/godot GitHub Wiki
StyleBoxTexture
####Inherits: StyleBox ####Category: Core
Brief Description
Texture Based 3x3 scale style.
Member Functions
- void set_texture ( Texture texture )
- Texture get_texture ( ) const
- void set_margin_size ( int margin, float size )
- float get_margin_size ( int arg0 ) const
- void set_expand_margin_size ( int margin, float size )
- float get_expand_margin_size ( int arg0 ) const
- void set_draw_center ( bool enable )
- bool get_draw_center ( ) const
Description
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.