class_styleboxflat.rst 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_StyleBoxFlat:
  4. StyleBoxFlat
  5. ============
  6. **Inherits:** :ref:`StyleBox<class_stylebox>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Stylebox of a single color.
  11. Member Functions
  12. ----------------
  13. +----------------------------+----------------------------------------------------------------------------------------------------------+
  14. | :ref:`Color<class_color>` | :ref:`get_bg_color<class_StyleBoxFlat_get_bg_color>` **(** **)** const |
  15. +----------------------------+----------------------------------------------------------------------------------------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`get_border_blend<class_StyleBoxFlat_get_border_blend>` **(** **)** const |
  17. +----------------------------+----------------------------------------------------------------------------------------------------------+
  18. | :ref:`int<class_int>` | :ref:`get_border_size<class_StyleBoxFlat_get_border_size>` **(** **)** const |
  19. +----------------------------+----------------------------------------------------------------------------------------------------------+
  20. | :ref:`Color<class_color>` | :ref:`get_dark_color<class_StyleBoxFlat_get_dark_color>` **(** **)** const |
  21. +----------------------------+----------------------------------------------------------------------------------------------------------+
  22. | :ref:`bool<class_bool>` | :ref:`get_draw_center<class_StyleBoxFlat_get_draw_center>` **(** **)** const |
  23. +----------------------------+----------------------------------------------------------------------------------------------------------+
  24. | :ref:`Color<class_color>` | :ref:`get_light_color<class_StyleBoxFlat_get_light_color>` **(** **)** const |
  25. +----------------------------+----------------------------------------------------------------------------------------------------------+
  26. | void | :ref:`set_bg_color<class_StyleBoxFlat_set_bg_color>` **(** :ref:`Color<class_color>` color **)** |
  27. +----------------------------+----------------------------------------------------------------------------------------------------------+
  28. | void | :ref:`set_border_blend<class_StyleBoxFlat_set_border_blend>` **(** :ref:`bool<class_bool>` blend **)** |
  29. +----------------------------+----------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`set_border_size<class_StyleBoxFlat_set_border_size>` **(** :ref:`int<class_int>` size **)** |
  31. +----------------------------+----------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`set_dark_color<class_StyleBoxFlat_set_dark_color>` **(** :ref:`Color<class_color>` color **)** |
  33. +----------------------------+----------------------------------------------------------------------------------------------------------+
  34. | void | :ref:`set_draw_center<class_StyleBoxFlat_set_draw_center>` **(** :ref:`bool<class_bool>` size **)** |
  35. +----------------------------+----------------------------------------------------------------------------------------------------------+
  36. | void | :ref:`set_light_color<class_StyleBoxFlat_set_light_color>` **(** :ref:`Color<class_color>` color **)** |
  37. +----------------------------+----------------------------------------------------------------------------------------------------------+
  38. Description
  39. -----------
  40. Stylebox of a single color. Displays the stylebox of a single color, alternatively a border with light/dark colors can be assigned.
  41. Member Function Description
  42. ---------------------------
  43. .. _class_StyleBoxFlat_get_bg_color:
  44. - :ref:`Color<class_color>` **get_bg_color** **(** **)** const
  45. .. _class_StyleBoxFlat_get_border_blend:
  46. - :ref:`bool<class_bool>` **get_border_blend** **(** **)** const
  47. .. _class_StyleBoxFlat_get_border_size:
  48. - :ref:`int<class_int>` **get_border_size** **(** **)** const
  49. .. _class_StyleBoxFlat_get_dark_color:
  50. - :ref:`Color<class_color>` **get_dark_color** **(** **)** const
  51. .. _class_StyleBoxFlat_get_draw_center:
  52. - :ref:`bool<class_bool>` **get_draw_center** **(** **)** const
  53. .. _class_StyleBoxFlat_get_light_color:
  54. - :ref:`Color<class_color>` **get_light_color** **(** **)** const
  55. .. _class_StyleBoxFlat_set_bg_color:
  56. - void **set_bg_color** **(** :ref:`Color<class_color>` color **)**
  57. .. _class_StyleBoxFlat_set_border_blend:
  58. - void **set_border_blend** **(** :ref:`bool<class_bool>` blend **)**
  59. .. _class_StyleBoxFlat_set_border_size:
  60. - void **set_border_size** **(** :ref:`int<class_int>` size **)**
  61. .. _class_StyleBoxFlat_set_dark_color:
  62. - void **set_dark_color** **(** :ref:`Color<class_color>` color **)**
  63. .. _class_StyleBoxFlat_set_draw_center:
  64. - void **set_draw_center** **(** :ref:`bool<class_bool>` size **)**
  65. .. _class_StyleBoxFlat_set_light_color:
  66. - void **set_light_color** **(** :ref:`Color<class_color>` color **)**