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:
@@ -134,6 +134,8 @@ Property Descriptions
|
||||
| *Getter* | get_expand_margin_size() |
|
||||
+----------+-------------------------------+
|
||||
|
||||
Expands the bottom margin of this style box when drawing, causing it be drawn larger than requested.
|
||||
|
||||
.. _class_StyleBoxTexture_property_expand_margin_left:
|
||||
|
||||
- :ref:`float<class_float>` **expand_margin_left**
|
||||
@@ -144,6 +146,8 @@ Property Descriptions
|
||||
| *Getter* | get_expand_margin_size() |
|
||||
+----------+-------------------------------+
|
||||
|
||||
Expands the left margin of this style box when drawing, causing it be drawn larger than requested.
|
||||
|
||||
.. _class_StyleBoxTexture_property_expand_margin_right:
|
||||
|
||||
- :ref:`float<class_float>` **expand_margin_right**
|
||||
@@ -154,6 +158,8 @@ Property Descriptions
|
||||
| *Getter* | get_expand_margin_size() |
|
||||
+----------+-------------------------------+
|
||||
|
||||
Expands the right margin of this style box when drawing, causing it be drawn larger than requested.
|
||||
|
||||
.. _class_StyleBoxTexture_property_expand_margin_top:
|
||||
|
||||
- :ref:`float<class_float>` **expand_margin_top**
|
||||
@@ -164,6 +170,8 @@ Property Descriptions
|
||||
| *Getter* | get_expand_margin_size() |
|
||||
+----------+-------------------------------+
|
||||
|
||||
Expands the top margin of this style box when drawing, causing it be drawn larger than requested.
|
||||
|
||||
.. _class_StyleBoxTexture_property_margin_bottom:
|
||||
|
||||
- :ref:`float<class_float>` **margin_bottom**
|
||||
@@ -174,6 +182,12 @@ Property Descriptions
|
||||
| *Getter* | get_margin_size() |
|
||||
+----------+------------------------+
|
||||
|
||||
Increases the bottom margin of the 3x3 texture box.
|
||||
|
||||
A higher value means more of the source texture is considered to be part of the bottom border of the 3x3 box.
|
||||
|
||||
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**
|
||||
@@ -184,6 +198,12 @@ Property Descriptions
|
||||
| *Getter* | get_margin_size() |
|
||||
+----------+------------------------+
|
||||
|
||||
Increases the left margin of the 3x3 texture box.
|
||||
|
||||
A higher value means more of the source texture is considered to be part of the left border of the 3x3 box.
|
||||
|
||||
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**
|
||||
@@ -194,6 +214,12 @@ Property Descriptions
|
||||
| *Getter* | get_margin_size() |
|
||||
+----------+------------------------+
|
||||
|
||||
Increases the right margin of the 3x3 texture box.
|
||||
|
||||
A higher value means more of the source texture is considered to be part of the right border of the 3x3 box.
|
||||
|
||||
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**
|
||||
@@ -204,6 +230,12 @@ Property Descriptions
|
||||
| *Getter* | get_margin_size() |
|
||||
+----------+------------------------+
|
||||
|
||||
Increases the top margin of the 3x3 texture box.
|
||||
|
||||
A higher value means more of the source texture is considered to be part of the top border of the 3x3 box.
|
||||
|
||||
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**
|
||||
@@ -214,6 +246,8 @@ Property Descriptions
|
||||
| *Getter* | get_modulate() |
|
||||
+----------+---------------------+
|
||||
|
||||
Modulates the color of the texture when this style box is drawn.
|
||||
|
||||
.. _class_StyleBoxTexture_property_normal_map:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **normal_map**
|
||||
@@ -224,6 +258,8 @@ Property Descriptions
|
||||
| *Getter* | get_normal_map() |
|
||||
+----------+-----------------------+
|
||||
|
||||
The normal map to use when drawing this style box.
|
||||
|
||||
.. _class_StyleBoxTexture_property_region_rect:
|
||||
|
||||
- :ref:`Rect2<class_Rect2>` **region_rect**
|
||||
@@ -234,6 +270,10 @@ Property Descriptions
|
||||
| *Getter* | get_region_rect() |
|
||||
+----------+------------------------+
|
||||
|
||||
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**
|
||||
@@ -244,6 +284,8 @@ Property Descriptions
|
||||
| *Getter* | get_texture() |
|
||||
+----------+--------------------+
|
||||
|
||||
The texture to use when drawing this style box.
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user