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:
@@ -42,7 +42,7 @@ Properties
|
||||
Signals
|
||||
-------
|
||||
|
||||
.. _class_NinePatchRect_texture_changed:
|
||||
.. _class_NinePatchRect_texture_changed:
|
||||
|
||||
- **texture_changed** **(** **)**
|
||||
|
||||
@@ -51,7 +51,7 @@ Fired when the node's texture changes.
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
.. _enum_NinePatchRect_AxisStretchMode:
|
||||
.. _enum_NinePatchRect_AxisStretchMode:
|
||||
|
||||
enum **AxisStretchMode**:
|
||||
|
||||
@@ -67,7 +67,7 @@ Better known as 9-slice panels, NinePatchRect produces clean panels of any size,
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_NinePatchRect_axis_stretch_horizontal:
|
||||
.. _class_NinePatchRect_axis_stretch_horizontal:
|
||||
|
||||
- :ref:`AxisStretchMode<enum_NinePatchRect_AxisStretchMode>` **axis_stretch_horizontal**
|
||||
|
||||
@@ -79,7 +79,7 @@ Property Descriptions
|
||||
|
||||
Doesn't do anything at the time of writing.
|
||||
|
||||
.. _class_NinePatchRect_axis_stretch_vertical:
|
||||
.. _class_NinePatchRect_axis_stretch_vertical:
|
||||
|
||||
- :ref:`AxisStretchMode<enum_NinePatchRect_AxisStretchMode>` **axis_stretch_vertical**
|
||||
|
||||
@@ -91,7 +91,7 @@ Doesn't do anything at the time of writing.
|
||||
|
||||
Doesn't do anything at the time of writing.
|
||||
|
||||
.. _class_NinePatchRect_draw_center:
|
||||
.. _class_NinePatchRect_draw_center:
|
||||
|
||||
- :ref:`bool<class_bool>` **draw_center**
|
||||
|
||||
@@ -103,7 +103,7 @@ Doesn't do anything at the time of writing.
|
||||
|
||||
If ``true``, draw the panel's center. Else, only draw the 9-slice's borders. Default value: ``true``
|
||||
|
||||
.. _class_NinePatchRect_patch_margin_bottom:
|
||||
.. _class_NinePatchRect_patch_margin_bottom:
|
||||
|
||||
- :ref:`int<class_int>` **patch_margin_bottom**
|
||||
|
||||
@@ -115,7 +115,7 @@ If ``true``, draw the panel's center. Else, only draw the 9-slice's borders. Def
|
||||
|
||||
The height of the 9-slice's bottom row. A margin of 16 means the 9-slice's bottom corners and side will have a height of 16 pixels. You can set all 4 margin values individually to create panels with non-uniform borders.
|
||||
|
||||
.. _class_NinePatchRect_patch_margin_left:
|
||||
.. _class_NinePatchRect_patch_margin_left:
|
||||
|
||||
- :ref:`int<class_int>` **patch_margin_left**
|
||||
|
||||
@@ -127,7 +127,7 @@ The height of the 9-slice's bottom row. A margin of 16 means the 9-slice's botto
|
||||
|
||||
The height of the 9-slice's left column.
|
||||
|
||||
.. _class_NinePatchRect_patch_margin_right:
|
||||
.. _class_NinePatchRect_patch_margin_right:
|
||||
|
||||
- :ref:`int<class_int>` **patch_margin_right**
|
||||
|
||||
@@ -139,7 +139,7 @@ The height of the 9-slice's left column.
|
||||
|
||||
The height of the 9-slice's right column.
|
||||
|
||||
.. _class_NinePatchRect_patch_margin_top:
|
||||
.. _class_NinePatchRect_patch_margin_top:
|
||||
|
||||
- :ref:`int<class_int>` **patch_margin_top**
|
||||
|
||||
@@ -151,7 +151,7 @@ The height of the 9-slice's right column.
|
||||
|
||||
The height of the 9-slice's top row.
|
||||
|
||||
.. _class_NinePatchRect_region_rect:
|
||||
.. _class_NinePatchRect_region_rect:
|
||||
|
||||
- :ref:`Rect2<class_Rect2>` **region_rect**
|
||||
|
||||
@@ -163,7 +163,7 @@ The height of the 9-slice's top row.
|
||||
|
||||
Rectangular region of the texture to sample from. If you're working with an atlas, use this property to define the area the 9-slice should use. All other properties are relative to this one.
|
||||
|
||||
.. _class_NinePatchRect_texture:
|
||||
.. _class_NinePatchRect_texture:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **texture**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user