---
title: "Linear Gradient"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/image/draw/lineargradient
markdown: https://docs.nodetool.ai/nodes/lib/image/draw/lineargradient.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/image/draw/lineargradient.md
---

# Linear Gradient

**Type:** `lib.image.draw.LinearGradient`

**Namespace:** `lib.image.draw`

## Description

Two-stop linear gradient with angle and midpoint.
    image, gradient, linear, draw

## Properties

_(none)_

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `image` |  |

## Related Nodes

Browse other nodes in the [lib.image.draw](./) namespace.
