forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_styleboxtexture
reduz edited this page Feb 23, 2014
·
9 revisions
#####Inherits: StyleBox
Texture Based 3x3 scale style.
- void
set_texture
( Texture texture ) -
Texture
get_texture
( ) const - void
set_margin_size
( int margin, real size ) -
real
get_margin_size
( int arg0 ) const - void
set_expand_margin_size
( int margin, real size ) -
real
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.