123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- .. 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_StyleBoxFlat:
- StyleBoxFlat
- ============
- **Inherits:** :ref:`StyleBox<class_stylebox>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Stylebox of a single color.
- Member Functions
- ----------------
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | :ref:`Color<class_color>` | :ref:`get_bg_color<class_StyleBoxFlat_get_bg_color>` **(** **)** const |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`get_border_blend<class_StyleBoxFlat_get_border_blend>` **(** **)** const |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_border_size<class_StyleBoxFlat_get_border_size>` **(** **)** const |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | :ref:`Color<class_color>` | :ref:`get_dark_color<class_StyleBoxFlat_get_dark_color>` **(** **)** const |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`get_draw_center<class_StyleBoxFlat_get_draw_center>` **(** **)** const |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | :ref:`Color<class_color>` | :ref:`get_light_color<class_StyleBoxFlat_get_light_color>` **(** **)** const |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_bg_color<class_StyleBoxFlat_set_bg_color>` **(** :ref:`Color<class_color>` color **)** |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_border_blend<class_StyleBoxFlat_set_border_blend>` **(** :ref:`bool<class_bool>` blend **)** |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_border_size<class_StyleBoxFlat_set_border_size>` **(** :ref:`int<class_int>` size **)** |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_dark_color<class_StyleBoxFlat_set_dark_color>` **(** :ref:`Color<class_color>` color **)** |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_draw_center<class_StyleBoxFlat_set_draw_center>` **(** :ref:`bool<class_bool>` size **)** |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_light_color<class_StyleBoxFlat_set_light_color>` **(** :ref:`Color<class_color>` color **)** |
- +----------------------------+----------------------------------------------------------------------------------------------------------+
- Description
- -----------
- Stylebox of a single color. Displays the stylebox of a single color, alternatively a border with light/dark colors can be assigned.
- Member Function Description
- ---------------------------
- .. _class_StyleBoxFlat_get_bg_color:
- - :ref:`Color<class_color>` **get_bg_color** **(** **)** const
- .. _class_StyleBoxFlat_get_border_blend:
- - :ref:`bool<class_bool>` **get_border_blend** **(** **)** const
- .. _class_StyleBoxFlat_get_border_size:
- - :ref:`int<class_int>` **get_border_size** **(** **)** const
- .. _class_StyleBoxFlat_get_dark_color:
- - :ref:`Color<class_color>` **get_dark_color** **(** **)** const
- .. _class_StyleBoxFlat_get_draw_center:
- - :ref:`bool<class_bool>` **get_draw_center** **(** **)** const
- .. _class_StyleBoxFlat_get_light_color:
- - :ref:`Color<class_color>` **get_light_color** **(** **)** const
- .. _class_StyleBoxFlat_set_bg_color:
- - void **set_bg_color** **(** :ref:`Color<class_color>` color **)**
- .. _class_StyleBoxFlat_set_border_blend:
- - void **set_border_blend** **(** :ref:`bool<class_bool>` blend **)**
- .. _class_StyleBoxFlat_set_border_size:
- - void **set_border_size** **(** :ref:`int<class_int>` size **)**
- .. _class_StyleBoxFlat_set_dark_color:
- - void **set_dark_color** **(** :ref:`Color<class_color>` color **)**
- .. _class_StyleBoxFlat_set_draw_center:
- - void **set_draw_center** **(** :ref:`bool<class_bool>` size **)**
- .. _class_StyleBoxFlat_set_light_color:
- - void **set_light_color** **(** :ref:`Color<class_color>` color **)**
|