2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2018-02-19 09:46:33 +00:00
<class name= "StyleBoxTexture" inherits= "StyleBox" category= "Core" version= "3.1-dev" >
2017-09-12 20:42:36 +00:00
<brief_description >
Texture Based 3x3 scale style.
</brief_description>
<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.
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
<method name= "set_expand_margin_all" >
<return type= "void" >
</return>
<argument index= "0" name= "size" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "set_expand_margin_individual" >
<return type= "void" >
</return>
<argument index= "0" name= "size_left" type= "float" >
</argument>
<argument index= "1" name= "size_top" type= "float" >
</argument>
<argument index= "2" name= "size_right" type= "float" >
</argument>
<argument index= "3" name= "size_bottom" type= "float" >
</argument>
<description >
</description>
</method>
</methods>
<members >
2017-09-13 06:49:40 +00:00
<member name= "axis_stretch_horizontal" type= "int" setter= "set_h_axis_stretch_mode" getter= "get_h_axis_stretch_mode" enum= "StyleBoxTexture.AxisStretchMode" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "axis_stretch_vertical" type= "int" setter= "set_v_axis_stretch_mode" getter= "get_v_axis_stretch_mode" enum= "StyleBoxTexture.AxisStretchMode" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "draw_center" type= "bool" setter= "set_draw_center" getter= "is_draw_center_enabled" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "expand_margin_bottom" type= "float" setter= "set_expand_margin_size" getter= "get_expand_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "expand_margin_left" type= "float" setter= "set_expand_margin_size" getter= "get_expand_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "expand_margin_right" type= "float" setter= "set_expand_margin_size" getter= "get_expand_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "expand_margin_top" type= "float" setter= "set_expand_margin_size" getter= "get_expand_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "margin_bottom" type= "float" setter= "set_margin_size" getter= "get_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "margin_left" type= "float" setter= "set_margin_size" getter= "get_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "margin_right" type= "float" setter= "set_margin_size" getter= "get_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "margin_top" type= "float" setter= "set_margin_size" getter= "get_margin_size" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "modulate_color" type= "Color" setter= "set_modulate" getter= "get_modulate" >
2017-09-12 20:42:36 +00:00
</member>
2018-02-22 18:27:35 +00:00
<member name= "normal_map" type= "Texture" setter= "set_normal_map" getter= "get_normal_map" >
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "region_rect" type= "Rect2" setter= "set_region_rect" getter= "get_region_rect" >
2017-09-12 20:42:36 +00:00
</member>
2018-02-22 18:27:35 +00:00
<member name= "texture" type= "Texture" setter= "set_texture" getter= "get_texture" >
2017-09-12 20:42:36 +00:00
</member>
</members>
<signals >
<signal name= "texture_changed" >
<description >
</description>
</signal>
</signals>
<constants >
2017-11-24 22:16:30 +00:00
<constant name= "AXIS_STRETCH_MODE_STRETCH" value= "0" enum= "AxisStretchMode" >
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "AXIS_STRETCH_MODE_TILE" value= "1" enum= "AxisStretchMode" >
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "AXIS_STRETCH_MODE_TILE_FIT" value= "2" enum= "AxisStretchMode" >
2017-09-12 20:42:36 +00:00
</constant>
</constants>
</class>