diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-09-12 17:42:36 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-09-12 17:45:41 -0300 |
commit | 4f929a0fdfae24b1ca5acf0b732219119090ee43 (patch) | |
tree | 730471182cae00f2e47c7430db441d057383d29b /doc/classes/StyleBoxTexture.xml | |
parent | 175777596ec3521731665dd750fd7087793b10fc (diff) | |
download | redot-engine-4f929a0fdfae24b1ca5acf0b732219119090ee43.tar.gz |
Changed the doc class generation to individual files per class. It is also possible to save module files in module directories and the build system will
recognize them.
Diffstat (limited to 'doc/classes/StyleBoxTexture.xml')
-rw-r--r-- | doc/classes/StyleBoxTexture.xml | 217 |
1 files changed, 217 insertions, 0 deletions
diff --git a/doc/classes/StyleBoxTexture.xml b/doc/classes/StyleBoxTexture.xml new file mode 100644 index 0000000000..87aaba2cdd --- /dev/null +++ b/doc/classes/StyleBoxTexture.xml @@ -0,0 +1,217 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="StyleBoxTexture" inherits="StyleBox" category="Core" version="3.0.alpha.custom_build"> + <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="get_expand_margin_size" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="margin" type="int" enum="Margin"> + </argument> + <description> + </description> + </method> + <method name="get_h_axis_stretch_mode" qualifiers="const"> + <return type="int" enum="StyleBoxTexture.AxisStretchMode"> + </return> + <description> + </description> + </method> + <method name="get_margin_size" qualifiers="const"> + <return type="float"> + </return> + <argument index="0" name="margin" type="int" enum="Margin"> + </argument> + <description> + </description> + </method> + <method name="get_modulate" qualifiers="const"> + <return type="Color"> + </return> + <description> + </description> + </method> + <method name="get_normal_map" qualifiers="const"> + <return type="Resource"> + </return> + <description> + </description> + </method> + <method name="get_region_rect" qualifiers="const"> + <return type="Rect2"> + </return> + <description> + </description> + </method> + <method name="get_texture" qualifiers="const"> + <return type="Resource"> + </return> + <description> + </description> + </method> + <method name="get_v_axis_stretch_mode" qualifiers="const"> + <return type="int" enum="StyleBoxTexture.AxisStretchMode"> + </return> + <description> + </description> + </method> + <method name="is_draw_center_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + </description> + </method> + <method name="set_draw_center"> + <return type="void"> + </return> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + </description> + </method> + <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> + <method name="set_expand_margin_size"> + <return type="void"> + </return> + <argument index="0" name="margin" type="int" enum="Margin"> + </argument> + <argument index="1" name="size" type="float"> + </argument> + <description> + </description> + </method> + <method name="set_h_axis_stretch_mode"> + <return type="void"> + </return> + <argument index="0" name="mode" type="int" enum="StyleBoxTexture.AxisStretchMode"> + </argument> + <description> + </description> + </method> + <method name="set_margin_size"> + <return type="void"> + </return> + <argument index="0" name="margin" type="int" enum="Margin"> + </argument> + <argument index="1" name="size" type="float"> + </argument> + <description> + </description> + </method> + <method name="set_modulate"> + <return type="void"> + </return> + <argument index="0" name="color" type="Color"> + </argument> + <description> + </description> + </method> + <method name="set_normal_map"> + <return type="void"> + </return> + <argument index="0" name="normal_map" type="Resource"> + </argument> + <description> + </description> + </method> + <method name="set_region_rect"> + <return type="void"> + </return> + <argument index="0" name="region" type="Rect2"> + </argument> + <description> + </description> + </method> + <method name="set_texture"> + <return type="void"> + </return> + <argument index="0" name="texture" type="Resource"> + </argument> + <description> + </description> + </method> + <method name="set_v_axis_stretch_mode"> + <return type="void"> + </return> + <argument index="0" name="mode" type="int" enum="StyleBoxTexture.AxisStretchMode"> + </argument> + <description> + </description> + </method> + </methods> + <members> + <member name="axis_stretch_horizontal" type="int" setter="set_h_axis_stretch_mode" getter="get_h_axis_stretch_mode" brief="" enum="StyleBoxTexture.AxisStretchMode"> + </member> + <member name="axis_stretch_vertical" type="int" setter="set_v_axis_stretch_mode" getter="get_v_axis_stretch_mode" brief="" enum="StyleBoxTexture.AxisStretchMode"> + </member> + <member name="draw_center" type="bool" setter="set_draw_center" getter="is_draw_center_enabled" brief=""> + </member> + <member name="expand_margin_bottom" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief=""> + </member> + <member name="expand_margin_left" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief=""> + </member> + <member name="expand_margin_right" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief=""> + </member> + <member name="expand_margin_top" type="float" setter="set_expand_margin_size" getter="get_expand_margin_size" brief=""> + </member> + <member name="margin_bottom" type="float" setter="set_margin_size" getter="get_margin_size" brief=""> + </member> + <member name="margin_left" type="float" setter="set_margin_size" getter="get_margin_size" brief=""> + </member> + <member name="margin_right" type="float" setter="set_margin_size" getter="get_margin_size" brief=""> + </member> + <member name="margin_top" type="float" setter="set_margin_size" getter="get_margin_size" brief=""> + </member> + <member name="modulate_color" type="Color" setter="set_modulate" getter="get_modulate" brief=""> + </member> + <member name="normal_map" type="Resource" setter="set_normal_map" getter="get_normal_map" brief=""> + </member> + <member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" brief=""> + </member> + <member name="texture" type="Resource" setter="set_texture" getter="get_texture" brief=""> + </member> + </members> + <signals> + <signal name="texture_changed"> + <description> + </description> + </signal> + </signals> + <constants> + <constant name="AXIS_STRETCH_MODE_STRETCH" value="0"> + </constant> + <constant name="AXIS_STRETCH_MODE_TILE" value="1"> + </constant> + <constant name="AXIS_STRETCH_MODE_TILE_FIT" value="2"> + </constant> + </constants> +</class> |