mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
This commit is contained in:
@@ -116,6 +116,8 @@ Property Descriptions
|
||||
| *Getter* | get_h_axis_stretch_mode() |
|
||||
+-----------+--------------------------------+
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_axis_stretch_vertical:
|
||||
|
||||
- :ref:`AxisStretchMode<enum_StyleBoxTexture_AxisStretchMode>` **axis_stretch_vertical**
|
||||
@@ -128,6 +130,8 @@ Property Descriptions
|
||||
| *Getter* | get_v_axis_stretch_mode() |
|
||||
+-----------+--------------------------------+
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_draw_center:
|
||||
|
||||
- :ref:`bool<class_bool>` **draw_center**
|
||||
@@ -140,6 +144,8 @@ Property Descriptions
|
||||
| *Getter* | is_draw_center_enabled() |
|
||||
+-----------+--------------------------+
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_expand_margin_bottom:
|
||||
|
||||
- :ref:`float<class_float>` **expand_margin_bottom**
|
||||
@@ -154,6 +160,8 @@ Property Descriptions
|
||||
|
||||
Expands the bottom margin of this style box when drawing, causing it to be drawn larger than requested.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_expand_margin_left:
|
||||
|
||||
- :ref:`float<class_float>` **expand_margin_left**
|
||||
@@ -168,6 +176,8 @@ Expands the bottom margin of this style box when drawing, causing it to be drawn
|
||||
|
||||
Expands the left margin of this style box when drawing, causing it to be drawn larger than requested.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_expand_margin_right:
|
||||
|
||||
- :ref:`float<class_float>` **expand_margin_right**
|
||||
@@ -182,6 +192,8 @@ Expands the left margin of this style box when drawing, causing it to be drawn l
|
||||
|
||||
Expands the right margin of this style box when drawing, causing it to be drawn larger than requested.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_expand_margin_top:
|
||||
|
||||
- :ref:`float<class_float>` **expand_margin_top**
|
||||
@@ -196,6 +208,8 @@ Expands the right margin of this style box when drawing, causing it to be drawn
|
||||
|
||||
Expands the top margin of this style box when drawing, causing it to be drawn larger than requested.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_margin_bottom:
|
||||
|
||||
- :ref:`float<class_float>` **margin_bottom**
|
||||
@@ -214,6 +228,8 @@ A higher value means more of the source texture is considered to be part of the
|
||||
|
||||
This is also the value used as fallback for :ref:`StyleBox.content_margin_bottom<class_StyleBox_property_content_margin_bottom>` if it is negative.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_margin_left:
|
||||
|
||||
- :ref:`float<class_float>` **margin_left**
|
||||
@@ -232,6 +248,8 @@ A higher value means more of the source texture is considered to be part of the
|
||||
|
||||
This is also the value used as fallback for :ref:`StyleBox.content_margin_left<class_StyleBox_property_content_margin_left>` if it is negative.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_margin_right:
|
||||
|
||||
- :ref:`float<class_float>` **margin_right**
|
||||
@@ -250,6 +268,8 @@ A higher value means more of the source texture is considered to be part of the
|
||||
|
||||
This is also the value used as fallback for :ref:`StyleBox.content_margin_right<class_StyleBox_property_content_margin_right>` if it is negative.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_margin_top:
|
||||
|
||||
- :ref:`float<class_float>` **margin_top**
|
||||
@@ -268,6 +288,8 @@ A higher value means more of the source texture is considered to be part of the
|
||||
|
||||
This is also the value used as fallback for :ref:`StyleBox.content_margin_top<class_StyleBox_property_content_margin_top>` if it is negative.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_modulate_color:
|
||||
|
||||
- :ref:`Color<class_Color>` **modulate_color**
|
||||
@@ -282,6 +304,8 @@ This is also the value used as fallback for :ref:`StyleBox.content_margin_top<cl
|
||||
|
||||
Modulates the color of the texture when this style box is drawn.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_normal_map:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **normal_map**
|
||||
@@ -294,6 +318,8 @@ Modulates the color of the texture when this style box is drawn.
|
||||
|
||||
The normal map to use when drawing this style box.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_region_rect:
|
||||
|
||||
- :ref:`Rect2<class_Rect2>` **region_rect**
|
||||
@@ -310,6 +336,8 @@ Species a sub region of the texture to use.
|
||||
|
||||
This is equivalent to first wrapping the texture in an :ref:`AtlasTexture<class_AtlasTexture>` with the same region.
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_property_texture:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **texture**
|
||||
@@ -329,22 +357,32 @@ Method Descriptions
|
||||
|
||||
- :ref:`float<class_float>` **get_expand_margin_size** **(** :ref:`Margin<enum_@GlobalScope_Margin>` margin **)** const
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_method_get_margin_size:
|
||||
|
||||
- :ref:`float<class_float>` **get_margin_size** **(** :ref:`Margin<enum_@GlobalScope_Margin>` margin **)** const
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_method_set_expand_margin_all:
|
||||
|
||||
- void **set_expand_margin_all** **(** :ref:`float<class_float>` size **)**
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_method_set_expand_margin_individual:
|
||||
|
||||
- void **set_expand_margin_individual** **(** :ref:`float<class_float>` size_left, :ref:`float<class_float>` size_top, :ref:`float<class_float>` size_right, :ref:`float<class_float>` size_bottom **)**
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_method_set_expand_margin_size:
|
||||
|
||||
- void **set_expand_margin_size** **(** :ref:`Margin<enum_@GlobalScope_Margin>` margin, :ref:`float<class_float>` size **)**
|
||||
|
||||
----
|
||||
|
||||
.. _class_StyleBoxTexture_method_set_margin_size:
|
||||
|
||||
- void **set_margin_size** **(** :ref:`Margin<enum_@GlobalScope_Margin>` margin, :ref:`float<class_float>` size **)**
|
||||
|
||||
Reference in New Issue
Block a user