x
1
<span>The quick brown fox jumps over the lazy dog.</span>
1
2
3
4
5
6
7
8
9
10
11
12
render Fluxbit::TextComponent.new( color: color, bg_color: bg_color, size: size, weight: weight, transform: transform, decoration_line: decoration_line, decoration_type: decoration_type, decoration_color: decoration_color, decoration_tickness: decoration_tickness, underline_offset: underline_offset,).with_content(content)
Fluxbit::TextComponent
You can use this component to display a message to the user
Param | Description | Input |
---|---|---|
— |
|
|
Text Color |
|
|
Background Text Color |
|
|
Size |
|
|
Weight |
|
|
Transform |
|
|
Decoration line |
|
|
Decoration type |
|
|
Decoration color |
|
|
Decoration tickness |
|
|
Underline offset |
|