Skip to content

ImageDrawRectangleRoundedByContainer

类名: ImageDrawRectangleRoundedByContainer
类别: image/draw
输出节点: IMAGE


节点github地址: https://github.com/Nourepide/ComfyUI-Allor

输入类型

参数名称数据类型描述
containerIMAGE(图像)容器图像
start_xFLOAT(浮点数)起始点的X坐标
start_yFLOAT(浮点数)起始点的Y坐标
end_xFLOAT(浮点数)结束点的X坐标
end_yFLOAT(浮点数)结束点的Y坐标
radiusINT(整数)圆角的半径
outline_sizeINT(整数)轮廓的粗细
outline_redINT(整数)轮廓的红色通道值
outline_greenINT(整数)轮廓的绿色通道值
outline_blueINT(整数)轮廓的蓝色通道值
outline_alphaFLOAT(浮点数)轮廓的透明度值
fill_redINT(整数)填充的红色通道值
fill_greenINT(整数)填充的绿色通道值
fill_blueINT(整数)填充的蓝色通道值
fill_alphaFLOAT(浮点数)填充的透明度值
top_left_cornerBOOLEAN(布尔值)是否应用到左上角(truefalse
top_right_cornerBOOLEAN(布尔值)是否应用到右上角(truefalse
bottom_right_cornerBOOLEAN(布尔值)是否应用到右下角(truefalse
bottom_left_cornerBOOLEAN(布尔值)是否应用到左下角(truefalse
SSAAINT(整数)超采样抗锯齿的倍数
methodSTRING(字符串)绘制方法(如 lanczos、bicubic 等)

method方法

  • lanczos: Lanczos插值法
  • bicubic: 双三次插值法
  • hamming: Hamming插值法
  • bilinear: 双线性插值法
  • box: Box插值法
  • nearest: 最近邻插值法

输出类型

参数名称数据类型描述
imageIMAGE(图像)输出绘制后的图像