ComfyUI Node

Line

A ComfyUI node in ✨ LF Nodes/Filters with 12 inputs and 2 outputs.

By lucafoscili·Created 2 years ago·Updated about a year ago· 50
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)

NameTypeDefaultDescription
imageIMAGEInput image tensor to draw a line upon.
start_xFLOAT0.500–1Horizontal position to begin the line drawing, expressed as a value between 0 and 1.
start_yFLOAT0.000–1Vertical position to begin the line drawing, expressed as a value between 0 and 1.
end_xFLOAT0.500–1Horizontal position to end the line drawing, expressed as a value between 0 and 1.
end_yFLOAT1.000–1Vertical position to end the line drawing, expressed as a value between 0 and 1.
sizeINT101–500Diameter of the line in pixels.
colorSTRINGFF0000Hex color of the line.
opacityFLOAT1.000–1Opacity of the line.
smoothBOOLEANfalseDraws a smooth line.
mid_xoptFLOAT0.250–1Horizontal midpoint of the line, expressed as a value between 0 and 1.
mid_yoptFLOAT0.250–1Vertical midpoint of the line, expressed as a value between 0 and 1.
ui_widgetoptKUL_COMPARE[object Object]

Outputs (2)

NameTypeDescription
imageIMAGE
image_listIMAGE