ComfyUI Node
DrawTextConfig
Configures text rendering parameters including font, size, color, alignment, and effects
DrawTextConfig
- TEXT_STYLE
◄font▾►
◄size56►
◄color#FFFFFF►
◄background_color#00000000►
◄padding20►
◄shadow_distance0►
◄shadow_blur0►
◄shadow_color#000000►
◄horizontal_align▾►
◄vertical_align▾►
◄offset_x0►
◄offset_y0►
◄direction▾►
Categorytext
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| font | COMBO | 2 options: Inter_24pt-Medium.ttf, ShareTechMono-Regular.ttf | |
| size | INT | 561–9999 | — |
| color | STRING | #FFFFFF | — |
| background_color | STRING | #00000000 | — |
| padding | INT | 200–500 | — |
| shadow_distance | INT | 00–100 | — |
| shadow_blur | INT | 00–100 | — |
| shadow_color | STRING | #000000 | — |
| horizontal_align | COMBO | 3 options: left, center, right | |
| vertical_align | COMBO | 3 options: top, center, bottom | |
| offset_x | INT | 0-2048–2048 | — |
| offset_y | INT | 0-2048–2048 | — |
| direction | COMBO | 2 options: ltr, rtl |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| TEXT_STYLE | TEXT_STYLE | — |