Create Gradient From Coords

节点功能:用于根据坐标点创建渐变图像。Create Gradient From
节点中英文对比
Create Gradient From Coords
  • coordinates
  • image
  • frame_width
    frame_height
    start_color
    end_color
    multiplier
    Create Gradient From Coords
  • coordinates
  • image
  • frame_width
    frame_height
    start_color
    end_color
    multiplier
    Create Gradient From Coords - 参数说明
    输入参数
    coordinates
    起点与终点坐标的 JSON 字符串,格式为 [{"x": int, "y": int}, {"x": int, "y": int}]。
    输出参数
    image
    根据坐标方向生成的 RGB 渐变图像,大小为指定宽高。
    控件参数
    frame_width
    输出图像的宽度,单位为像素。
    frame_height
    输出图像的高度,单位为像素。
    start_color
    起始颜色,支持如 'white'、'#ff0000' 或 'rgb(255,0,0)' 格式。
    end_color
    终止颜色,同样支持多种颜色格式。
    multiplier
    控制颜色过渡强度的乘子,默认值为 1.0。
    暂无节点说明
    节点列表 首页