forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_styleboxtexture
reduz edited this page Apr 10, 2014
·
9 revisions
####Inherits: StyleBox ####Category: Core
Texture Based 3x3 scale style.
- 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
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.