ComfyUI Node
Line
A ComfyUI node in ✨ LF Nodes/Filters with 12 inputs and 2 outputs.
Line
- image
- ui_widget
- image
- image_list
◄start_x0.50►
◄start_y0.00►
◄end_x0.50►
◄end_y1.00►
◄size10►
◄colorFF0000►
◄opacity1.00►
◄smoothfalse►
◄mid_x0.25►
◄mid_y0.25►
Category✨ LF Nodes/Filters
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image tensor to draw a line upon. | |
| start_x | FLOAT | 0.500–1 | Horizontal position to begin the line drawing, expressed as a value between 0 and 1. |
| start_y | FLOAT | 0.000–1 | Vertical position to begin the line drawing, expressed as a value between 0 and 1. |
| end_x | FLOAT | 0.500–1 | Horizontal position to end the line drawing, expressed as a value between 0 and 1. |
| end_y | FLOAT | 1.000–1 | Vertical position to end the line drawing, expressed as a value between 0 and 1. |
| size | INT | 101–500 | Diameter of the line in pixels. |
| color | STRING | FF0000 | Hex color of the line. |
| opacity | FLOAT | 1.000–1 | Opacity of the line. |
| smooth | BOOLEAN | false | Draws a smooth line. |
| mid_xopt | FLOAT | 0.250–1 | Horizontal midpoint of the line, expressed as a value between 0 and 1. |
| mid_yopt | FLOAT | 0.250–1 | Vertical midpoint of the line, expressed as a value between 0 and 1. |
| ui_widgetopt | KUL_COMPARE | [object Object] | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| image_list | IMAGE | — |