.. 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_Patch9Frame: Patch9Frame =========== **Inherits:** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_draw_center` **(** **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_modulate` **(** **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_patch_margin` **(** :ref:`int` margin **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Rect2` | :ref:`get_region_rect` **(** **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_texture` **(** **)** const | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_draw_center` **(** :ref:`bool` draw_center **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_modulate` **(** :ref:`Color` modulate **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_patch_margin` **(** :ref:`int` margin, :ref:`int` value **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_region_rect` **(** :ref:`Rect2` rect **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_texture` **(** :ref:`Object` texture **)** | +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ Signals ------- - **texture_changed** **(** **)** Member Function Description --------------------------- .. _class_Patch9Frame_get_draw_center: - :ref:`bool` **get_draw_center** **(** **)** const .. _class_Patch9Frame_get_modulate: - :ref:`Color` **get_modulate** **(** **)** const .. _class_Patch9Frame_get_patch_margin: - :ref:`int` **get_patch_margin** **(** :ref:`int` margin **)** const .. _class_Patch9Frame_get_region_rect: - :ref:`Rect2` **get_region_rect** **(** **)** const .. _class_Patch9Frame_get_texture: - :ref:`Object` **get_texture** **(** **)** const .. _class_Patch9Frame_set_draw_center: - void **set_draw_center** **(** :ref:`bool` draw_center **)** .. _class_Patch9Frame_set_modulate: - void **set_modulate** **(** :ref:`Color` modulate **)** .. _class_Patch9Frame_set_patch_margin: - void **set_patch_margin** **(** :ref:`int` margin, :ref:`int` value **)** .. _class_Patch9Frame_set_region_rect: - void **set_region_rect** **(** :ref:`Rect2` rect **)** .. _class_Patch9Frame_set_texture: - void **set_texture** **(** :ref:`Object` texture **)**