Provides common settings to customize the text in a [Label].
[LabelSettings] is a resource that provides common settings to customize the text in a [Label]. It will take priority over the properties defined in [member Control.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.
Adds a new stacked outline to the label at the given [param index]. If [param index] is [code]-1[/code], the new stacked outline will be added at the end of the list.
Adds a new stacked shadow to the label at the given [param index]. If [param index] is [code]-1[/code], the new stacked shadow will be added at the end of the list.
Returns the color of the stacked outline at [param index].
Returns the size of the stacked outline at [param index].
Returns the color of the stacked shadow at [param index].
Returns the offset of the stacked shadow at [param index].
Returns the outline size of the stacked shadow at [param index].
Moves the stacked outline at index [param from_index] to the given position [param to_position] in the array.
Moves the stacked shadow at index [param from_index] to the given position [param to_position] in the array.
Removes the stacked outline at index [param index].
Removes the stacked shadow at index [param index].
Sets the color of the stacked outline identified by the given [param index] to [param color].
Sets the size of the stacked outline identified by the given [param index] to [param size].
Sets the color of the stacked shadow identified by the given [param index] to [param color].
Sets the offset of the stacked shadow identified by the given [param index] to [param offset].
Sets the outline size of the stacked shadow identified by the given [param index] to [param size].
[Font] used for the text.
Color of the text.
Size of the text.
Additional vertical spacing between lines (in pixels), spacing is added to line descent. This value can be negative.
The color of the outline.
Text outline size.
Vertical space between paragraphs. Added on top of [member line_spacing].
Color of the shadow effect. If alpha is [code]0[/code], no shadow will be drawn.
Offset of the shadow effect, in pixels.
Size of the shadow effect.
The number of stacked outlines.
The number of stacked shadows.