mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with current master branch
This commit is contained in:
90
classes/class_ninepatchrect.rst
Normal file
90
classes/class_ninepatchrect.rst
Normal file
@@ -0,0 +1,90 @@
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
||||
|
||||
.. _class_NinePatchRect:
|
||||
|
||||
NinePatchRect
|
||||
=============
|
||||
|
||||
**Inherits:** :ref:`Control<class_control>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Member Functions
|
||||
----------------
|
||||
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`get_draw_center<class_NinePatchRect_get_draw_center>` **(** **)** const |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_patch_margin<class_NinePatchRect_get_patch_margin>` **(** :ref:`int<class_int>` margin **)** const |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Rect2<class_rect2>` | :ref:`get_region_rect<class_NinePatchRect_get_region_rect>` **(** **)** const |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Object<class_object>` | :ref:`get_texture<class_NinePatchRect_get_texture>` **(** **)** const |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_draw_center<class_NinePatchRect_set_draw_center>` **(** :ref:`bool<class_bool>` draw_center **)** |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_patch_margin<class_NinePatchRect_set_patch_margin>` **(** :ref:`int<class_int>` margin, :ref:`int<class_int>` value **)** |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_region_rect<class_NinePatchRect_set_region_rect>` **(** :ref:`Rect2<class_rect2>` rect **)** |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_texture<class_NinePatchRect_set_texture>` **(** :ref:`Object<class_object>` texture **)** |
|
||||
+------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Signals
|
||||
-------
|
||||
|
||||
- **texture_changed** **(** **)**
|
||||
|
||||
Member Variables
|
||||
----------------
|
||||
|
||||
- :ref:`bool<class_bool>` **draw_center**
|
||||
- :ref:`int<class_int>` **patch_margin_bottom**
|
||||
- :ref:`int<class_int>` **patch_margin_left**
|
||||
- :ref:`int<class_int>` **patch_margin_right**
|
||||
- :ref:`int<class_int>` **patch_margin_top**
|
||||
- :ref:`Rect2<class_rect2>` **region_rect**
|
||||
- :ref:`Texture<class_texture>` **texture**
|
||||
|
||||
Member Function Description
|
||||
---------------------------
|
||||
|
||||
.. _class_NinePatchRect_get_draw_center:
|
||||
|
||||
- :ref:`bool<class_bool>` **get_draw_center** **(** **)** const
|
||||
|
||||
.. _class_NinePatchRect_get_patch_margin:
|
||||
|
||||
- :ref:`int<class_int>` **get_patch_margin** **(** :ref:`int<class_int>` margin **)** const
|
||||
|
||||
.. _class_NinePatchRect_get_region_rect:
|
||||
|
||||
- :ref:`Rect2<class_rect2>` **get_region_rect** **(** **)** const
|
||||
|
||||
.. _class_NinePatchRect_get_texture:
|
||||
|
||||
- :ref:`Object<class_object>` **get_texture** **(** **)** const
|
||||
|
||||
.. _class_NinePatchRect_set_draw_center:
|
||||
|
||||
- void **set_draw_center** **(** :ref:`bool<class_bool>` draw_center **)**
|
||||
|
||||
.. _class_NinePatchRect_set_patch_margin:
|
||||
|
||||
- void **set_patch_margin** **(** :ref:`int<class_int>` margin, :ref:`int<class_int>` value **)**
|
||||
|
||||
.. _class_NinePatchRect_set_region_rect:
|
||||
|
||||
- void **set_region_rect** **(** :ref:`Rect2<class_rect2>` rect **)**
|
||||
|
||||
.. _class_NinePatchRect_set_texture:
|
||||
|
||||
- void **set_texture** **(** :ref:`Object<class_object>` texture **)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user