class_labelsettings.rst 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LabelSettings.xml.
  6. .. _class_LabelSettings:
  7. LabelSettings
  8. =============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Provides common settings to customize the text in a :ref:`Label<class_Label>`.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. **LabelSettings** is a resource that provides common settings to customize the text in a :ref:`Label<class_Label>`. It will take priority over the properties defined in :ref:`Control.theme<class_Control_property_theme>`. The resource can be shared between multiple labels and changed on the fly, so it's convenient and flexible way to setup text style.
  15. .. rst-class:: classref-reftable-group
  16. Properties
  17. ----------
  18. .. table::
  19. :widths: auto
  20. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  21. | :ref:`Font<class_Font>` | :ref:`font<class_LabelSettings_property_font>` | |
  22. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  23. | :ref:`Color<class_Color>` | :ref:`font_color<class_LabelSettings_property_font_color>` | ``Color(1, 1, 1, 1)`` |
  24. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  25. | :ref:`int<class_int>` | :ref:`font_size<class_LabelSettings_property_font_size>` | ``16`` |
  26. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  27. | :ref:`float<class_float>` | :ref:`line_spacing<class_LabelSettings_property_line_spacing>` | ``3.0`` |
  28. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  29. | :ref:`Color<class_Color>` | :ref:`outline_color<class_LabelSettings_property_outline_color>` | ``Color(1, 1, 1, 1)`` |
  30. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  31. | :ref:`int<class_int>` | :ref:`outline_size<class_LabelSettings_property_outline_size>` | ``0`` |
  32. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  33. | :ref:`float<class_float>` | :ref:`paragraph_spacing<class_LabelSettings_property_paragraph_spacing>` | ``0.0`` |
  34. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  35. | :ref:`Color<class_Color>` | :ref:`shadow_color<class_LabelSettings_property_shadow_color>` | ``Color(0, 0, 0, 0)`` |
  36. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  37. | :ref:`Vector2<class_Vector2>` | :ref:`shadow_offset<class_LabelSettings_property_shadow_offset>` | ``Vector2(1, 1)`` |
  38. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  39. | :ref:`int<class_int>` | :ref:`shadow_size<class_LabelSettings_property_shadow_size>` | ``1`` |
  40. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  41. | :ref:`int<class_int>` | :ref:`stacked_outline_count<class_LabelSettings_property_stacked_outline_count>` | ``0`` |
  42. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  43. | :ref:`int<class_int>` | :ref:`stacked_shadow_count<class_LabelSettings_property_stacked_shadow_count>` | ``0`` |
  44. +-------------------------------+----------------------------------------------------------------------------------+-----------------------+
  45. .. rst-class:: classref-reftable-group
  46. Methods
  47. -------
  48. .. table::
  49. :widths: auto
  50. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  51. | |void| | :ref:`add_stacked_outline<class_LabelSettings_method_add_stacked_outline>`\ (\ index\: :ref:`int<class_int>` = -1\ ) |
  52. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  53. | |void| | :ref:`add_stacked_shadow<class_LabelSettings_method_add_stacked_shadow>`\ (\ index\: :ref:`int<class_int>` = -1\ ) |
  54. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  55. | :ref:`Color<class_Color>` | :ref:`get_stacked_outline_color<class_LabelSettings_method_get_stacked_outline_color>`\ (\ index\: :ref:`int<class_int>`\ ) |const| |
  56. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  57. | :ref:`int<class_int>` | :ref:`get_stacked_outline_size<class_LabelSettings_method_get_stacked_outline_size>`\ (\ index\: :ref:`int<class_int>`\ ) |const| |
  58. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  59. | :ref:`Color<class_Color>` | :ref:`get_stacked_shadow_color<class_LabelSettings_method_get_stacked_shadow_color>`\ (\ index\: :ref:`int<class_int>`\ ) |const| |
  60. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  61. | :ref:`Vector2<class_Vector2>` | :ref:`get_stacked_shadow_offset<class_LabelSettings_method_get_stacked_shadow_offset>`\ (\ index\: :ref:`int<class_int>`\ ) |const| |
  62. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  63. | :ref:`int<class_int>` | :ref:`get_stacked_shadow_outline_size<class_LabelSettings_method_get_stacked_shadow_outline_size>`\ (\ index\: :ref:`int<class_int>`\ ) |const| |
  64. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  65. | |void| | :ref:`move_stacked_outline<class_LabelSettings_method_move_stacked_outline>`\ (\ from_index\: :ref:`int<class_int>`, to_position\: :ref:`int<class_int>`\ ) |
  66. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  67. | |void| | :ref:`move_stacked_shadow<class_LabelSettings_method_move_stacked_shadow>`\ (\ from_index\: :ref:`int<class_int>`, to_position\: :ref:`int<class_int>`\ ) |
  68. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  69. | |void| | :ref:`remove_stacked_outline<class_LabelSettings_method_remove_stacked_outline>`\ (\ index\: :ref:`int<class_int>`\ ) |
  70. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  71. | |void| | :ref:`remove_stacked_shadow<class_LabelSettings_method_remove_stacked_shadow>`\ (\ index\: :ref:`int<class_int>`\ ) |
  72. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  73. | |void| | :ref:`set_stacked_outline_color<class_LabelSettings_method_set_stacked_outline_color>`\ (\ index\: :ref:`int<class_int>`, color\: :ref:`Color<class_Color>`\ ) |
  74. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  75. | |void| | :ref:`set_stacked_outline_size<class_LabelSettings_method_set_stacked_outline_size>`\ (\ index\: :ref:`int<class_int>`, size\: :ref:`int<class_int>`\ ) |
  76. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  77. | |void| | :ref:`set_stacked_shadow_color<class_LabelSettings_method_set_stacked_shadow_color>`\ (\ index\: :ref:`int<class_int>`, color\: :ref:`Color<class_Color>`\ ) |
  78. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  79. | |void| | :ref:`set_stacked_shadow_offset<class_LabelSettings_method_set_stacked_shadow_offset>`\ (\ index\: :ref:`int<class_int>`, offset\: :ref:`Vector2<class_Vector2>`\ ) |
  80. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  81. | |void| | :ref:`set_stacked_shadow_outline_size<class_LabelSettings_method_set_stacked_shadow_outline_size>`\ (\ index\: :ref:`int<class_int>`, size\: :ref:`int<class_int>`\ ) |
  82. +-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  83. .. rst-class:: classref-section-separator
  84. ----
  85. .. rst-class:: classref-descriptions-group
  86. Property Descriptions
  87. ---------------------
  88. .. _class_LabelSettings_property_font:
  89. .. rst-class:: classref-property
  90. :ref:`Font<class_Font>` **font** :ref:`🔗<class_LabelSettings_property_font>`
  91. .. rst-class:: classref-property-setget
  92. - |void| **set_font**\ (\ value\: :ref:`Font<class_Font>`\ )
  93. - :ref:`Font<class_Font>` **get_font**\ (\ )
  94. :ref:`Font<class_Font>` used for the text.
  95. .. rst-class:: classref-item-separator
  96. ----
  97. .. _class_LabelSettings_property_font_color:
  98. .. rst-class:: classref-property
  99. :ref:`Color<class_Color>` **font_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗<class_LabelSettings_property_font_color>`
  100. .. rst-class:: classref-property-setget
  101. - |void| **set_font_color**\ (\ value\: :ref:`Color<class_Color>`\ )
  102. - :ref:`Color<class_Color>` **get_font_color**\ (\ )
  103. Color of the text.
  104. .. rst-class:: classref-item-separator
  105. ----
  106. .. _class_LabelSettings_property_font_size:
  107. .. rst-class:: classref-property
  108. :ref:`int<class_int>` **font_size** = ``16`` :ref:`🔗<class_LabelSettings_property_font_size>`
  109. .. rst-class:: classref-property-setget
  110. - |void| **set_font_size**\ (\ value\: :ref:`int<class_int>`\ )
  111. - :ref:`int<class_int>` **get_font_size**\ (\ )
  112. Size of the text.
  113. .. rst-class:: classref-item-separator
  114. ----
  115. .. _class_LabelSettings_property_line_spacing:
  116. .. rst-class:: classref-property
  117. :ref:`float<class_float>` **line_spacing** = ``3.0`` :ref:`🔗<class_LabelSettings_property_line_spacing>`
  118. .. rst-class:: classref-property-setget
  119. - |void| **set_line_spacing**\ (\ value\: :ref:`float<class_float>`\ )
  120. - :ref:`float<class_float>` **get_line_spacing**\ (\ )
  121. Additional vertical spacing between lines (in pixels), spacing is added to line descent. This value can be negative.
  122. .. rst-class:: classref-item-separator
  123. ----
  124. .. _class_LabelSettings_property_outline_color:
  125. .. rst-class:: classref-property
  126. :ref:`Color<class_Color>` **outline_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗<class_LabelSettings_property_outline_color>`
  127. .. rst-class:: classref-property-setget
  128. - |void| **set_outline_color**\ (\ value\: :ref:`Color<class_Color>`\ )
  129. - :ref:`Color<class_Color>` **get_outline_color**\ (\ )
  130. The color of the outline.
  131. .. rst-class:: classref-item-separator
  132. ----
  133. .. _class_LabelSettings_property_outline_size:
  134. .. rst-class:: classref-property
  135. :ref:`int<class_int>` **outline_size** = ``0`` :ref:`🔗<class_LabelSettings_property_outline_size>`
  136. .. rst-class:: classref-property-setget
  137. - |void| **set_outline_size**\ (\ value\: :ref:`int<class_int>`\ )
  138. - :ref:`int<class_int>` **get_outline_size**\ (\ )
  139. Text outline size.
  140. .. rst-class:: classref-item-separator
  141. ----
  142. .. _class_LabelSettings_property_paragraph_spacing:
  143. .. rst-class:: classref-property
  144. :ref:`float<class_float>` **paragraph_spacing** = ``0.0`` :ref:`🔗<class_LabelSettings_property_paragraph_spacing>`
  145. .. rst-class:: classref-property-setget
  146. - |void| **set_paragraph_spacing**\ (\ value\: :ref:`float<class_float>`\ )
  147. - :ref:`float<class_float>` **get_paragraph_spacing**\ (\ )
  148. Vertical space between paragraphs. Added on top of :ref:`line_spacing<class_LabelSettings_property_line_spacing>`.
  149. .. rst-class:: classref-item-separator
  150. ----
  151. .. _class_LabelSettings_property_shadow_color:
  152. .. rst-class:: classref-property
  153. :ref:`Color<class_Color>` **shadow_color** = ``Color(0, 0, 0, 0)`` :ref:`🔗<class_LabelSettings_property_shadow_color>`
  154. .. rst-class:: classref-property-setget
  155. - |void| **set_shadow_color**\ (\ value\: :ref:`Color<class_Color>`\ )
  156. - :ref:`Color<class_Color>` **get_shadow_color**\ (\ )
  157. Color of the shadow effect. If alpha is ``0``, no shadow will be drawn.
  158. .. rst-class:: classref-item-separator
  159. ----
  160. .. _class_LabelSettings_property_shadow_offset:
  161. .. rst-class:: classref-property
  162. :ref:`Vector2<class_Vector2>` **shadow_offset** = ``Vector2(1, 1)`` :ref:`🔗<class_LabelSettings_property_shadow_offset>`
  163. .. rst-class:: classref-property-setget
  164. - |void| **set_shadow_offset**\ (\ value\: :ref:`Vector2<class_Vector2>`\ )
  165. - :ref:`Vector2<class_Vector2>` **get_shadow_offset**\ (\ )
  166. Offset of the shadow effect, in pixels.
  167. .. rst-class:: classref-item-separator
  168. ----
  169. .. _class_LabelSettings_property_shadow_size:
  170. .. rst-class:: classref-property
  171. :ref:`int<class_int>` **shadow_size** = ``1`` :ref:`🔗<class_LabelSettings_property_shadow_size>`
  172. .. rst-class:: classref-property-setget
  173. - |void| **set_shadow_size**\ (\ value\: :ref:`int<class_int>`\ )
  174. - :ref:`int<class_int>` **get_shadow_size**\ (\ )
  175. Size of the shadow effect.
  176. .. rst-class:: classref-item-separator
  177. ----
  178. .. _class_LabelSettings_property_stacked_outline_count:
  179. .. rst-class:: classref-property
  180. :ref:`int<class_int>` **stacked_outline_count** = ``0`` :ref:`🔗<class_LabelSettings_property_stacked_outline_count>`
  181. .. rst-class:: classref-property-setget
  182. - |void| **set_stacked_outline_count**\ (\ value\: :ref:`int<class_int>`\ )
  183. - :ref:`int<class_int>` **get_stacked_outline_count**\ (\ )
  184. The number of stacked outlines.
  185. .. rst-class:: classref-item-separator
  186. ----
  187. .. _class_LabelSettings_property_stacked_shadow_count:
  188. .. rst-class:: classref-property
  189. :ref:`int<class_int>` **stacked_shadow_count** = ``0`` :ref:`🔗<class_LabelSettings_property_stacked_shadow_count>`
  190. .. rst-class:: classref-property-setget
  191. - |void| **set_stacked_shadow_count**\ (\ value\: :ref:`int<class_int>`\ )
  192. - :ref:`int<class_int>` **get_stacked_shadow_count**\ (\ )
  193. The number of stacked shadows.
  194. .. rst-class:: classref-section-separator
  195. ----
  196. .. rst-class:: classref-descriptions-group
  197. Method Descriptions
  198. -------------------
  199. .. _class_LabelSettings_method_add_stacked_outline:
  200. .. rst-class:: classref-method
  201. |void| **add_stacked_outline**\ (\ index\: :ref:`int<class_int>` = -1\ ) :ref:`🔗<class_LabelSettings_method_add_stacked_outline>`
  202. Adds a new stacked outline to the label at the given ``index``. If ``index`` is ``-1``, the new stacked outline will be added at the end of the list.
  203. .. rst-class:: classref-item-separator
  204. ----
  205. .. _class_LabelSettings_method_add_stacked_shadow:
  206. .. rst-class:: classref-method
  207. |void| **add_stacked_shadow**\ (\ index\: :ref:`int<class_int>` = -1\ ) :ref:`🔗<class_LabelSettings_method_add_stacked_shadow>`
  208. Adds a new stacked shadow to the label at the given ``index``. If ``index`` is ``-1``, the new stacked shadow will be added at the end of the list.
  209. .. rst-class:: classref-item-separator
  210. ----
  211. .. _class_LabelSettings_method_get_stacked_outline_color:
  212. .. rst-class:: classref-method
  213. :ref:`Color<class_Color>` **get_stacked_outline_color**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_LabelSettings_method_get_stacked_outline_color>`
  214. Returns the color of the stacked outline at ``index``.
  215. .. rst-class:: classref-item-separator
  216. ----
  217. .. _class_LabelSettings_method_get_stacked_outline_size:
  218. .. rst-class:: classref-method
  219. :ref:`int<class_int>` **get_stacked_outline_size**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_LabelSettings_method_get_stacked_outline_size>`
  220. Returns the size of the stacked outline at ``index``.
  221. .. rst-class:: classref-item-separator
  222. ----
  223. .. _class_LabelSettings_method_get_stacked_shadow_color:
  224. .. rst-class:: classref-method
  225. :ref:`Color<class_Color>` **get_stacked_shadow_color**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_LabelSettings_method_get_stacked_shadow_color>`
  226. Returns the color of the stacked shadow at ``index``.
  227. .. rst-class:: classref-item-separator
  228. ----
  229. .. _class_LabelSettings_method_get_stacked_shadow_offset:
  230. .. rst-class:: classref-method
  231. :ref:`Vector2<class_Vector2>` **get_stacked_shadow_offset**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_LabelSettings_method_get_stacked_shadow_offset>`
  232. Returns the offset of the stacked shadow at ``index``.
  233. .. rst-class:: classref-item-separator
  234. ----
  235. .. _class_LabelSettings_method_get_stacked_shadow_outline_size:
  236. .. rst-class:: classref-method
  237. :ref:`int<class_int>` **get_stacked_shadow_outline_size**\ (\ index\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_LabelSettings_method_get_stacked_shadow_outline_size>`
  238. Returns the outline size of the stacked shadow at ``index``.
  239. .. rst-class:: classref-item-separator
  240. ----
  241. .. _class_LabelSettings_method_move_stacked_outline:
  242. .. rst-class:: classref-method
  243. |void| **move_stacked_outline**\ (\ from_index\: :ref:`int<class_int>`, to_position\: :ref:`int<class_int>`\ ) :ref:`🔗<class_LabelSettings_method_move_stacked_outline>`
  244. Moves the stacked outline at index ``from_index`` to the given position ``to_position`` in the array.
  245. .. rst-class:: classref-item-separator
  246. ----
  247. .. _class_LabelSettings_method_move_stacked_shadow:
  248. .. rst-class:: classref-method
  249. |void| **move_stacked_shadow**\ (\ from_index\: :ref:`int<class_int>`, to_position\: :ref:`int<class_int>`\ ) :ref:`🔗<class_LabelSettings_method_move_stacked_shadow>`
  250. Moves the stacked shadow at index ``from_index`` to the given position ``to_position`` in the array.
  251. .. rst-class:: classref-item-separator
  252. ----
  253. .. _class_LabelSettings_method_remove_stacked_outline:
  254. .. rst-class:: classref-method
  255. |void| **remove_stacked_outline**\ (\ index\: :ref:`int<class_int>`\ ) :ref:`🔗<class_LabelSettings_method_remove_stacked_outline>`
  256. Removes the stacked outline at index ``index``.
  257. .. rst-class:: classref-item-separator
  258. ----
  259. .. _class_LabelSettings_method_remove_stacked_shadow:
  260. .. rst-class:: classref-method
  261. |void| **remove_stacked_shadow**\ (\ index\: :ref:`int<class_int>`\ ) :ref:`🔗<class_LabelSettings_method_remove_stacked_shadow>`
  262. Removes the stacked shadow at index ``index``.
  263. .. rst-class:: classref-item-separator
  264. ----
  265. .. _class_LabelSettings_method_set_stacked_outline_color:
  266. .. rst-class:: classref-method
  267. |void| **set_stacked_outline_color**\ (\ index\: :ref:`int<class_int>`, color\: :ref:`Color<class_Color>`\ ) :ref:`🔗<class_LabelSettings_method_set_stacked_outline_color>`
  268. Sets the color of the stacked outline identified by the given ``index`` to ``color``.
  269. .. rst-class:: classref-item-separator
  270. ----
  271. .. _class_LabelSettings_method_set_stacked_outline_size:
  272. .. rst-class:: classref-method
  273. |void| **set_stacked_outline_size**\ (\ index\: :ref:`int<class_int>`, size\: :ref:`int<class_int>`\ ) :ref:`🔗<class_LabelSettings_method_set_stacked_outline_size>`
  274. Sets the size of the stacked outline identified by the given ``index`` to ``size``.
  275. .. rst-class:: classref-item-separator
  276. ----
  277. .. _class_LabelSettings_method_set_stacked_shadow_color:
  278. .. rst-class:: classref-method
  279. |void| **set_stacked_shadow_color**\ (\ index\: :ref:`int<class_int>`, color\: :ref:`Color<class_Color>`\ ) :ref:`🔗<class_LabelSettings_method_set_stacked_shadow_color>`
  280. Sets the color of the stacked shadow identified by the given ``index`` to ``color``.
  281. .. rst-class:: classref-item-separator
  282. ----
  283. .. _class_LabelSettings_method_set_stacked_shadow_offset:
  284. .. rst-class:: classref-method
  285. |void| **set_stacked_shadow_offset**\ (\ index\: :ref:`int<class_int>`, offset\: :ref:`Vector2<class_Vector2>`\ ) :ref:`🔗<class_LabelSettings_method_set_stacked_shadow_offset>`
  286. Sets the offset of the stacked shadow identified by the given ``index`` to ``offset``.
  287. .. rst-class:: classref-item-separator
  288. ----
  289. .. _class_LabelSettings_method_set_stacked_shadow_outline_size:
  290. .. rst-class:: classref-method
  291. |void| **set_stacked_shadow_outline_size**\ (\ index\: :ref:`int<class_int>`, size\: :ref:`int<class_int>`\ ) :ref:`🔗<class_LabelSettings_method_set_stacked_shadow_outline_size>`
  292. Sets the outline size of the stacked shadow identified by the given ``index`` to ``size``.
  293. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  294. .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
  295. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  296. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  297. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  298. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  299. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  300. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  301. .. |void| replace:: :abbr:`void (No return value.)`