Skip to content

Gradient

Gradient
Gradient
Absolute Coordinates
false
Type
Linear
Colors
null
Offsets
null
Stops Count
2
Start Point
(0, 0)
End Point
(1, 0)
Start Point
(0, 0)
End Point
(1, 0)
Center Point
(0.5, 0.5)
Radius
0.5
Angle
0
Color Stop Color
White
Color Stop Offset
0

Category Color
Is Pair Node: No


Generates a gradient paintable based on the specified type, colors, offsets, and other parameters.

In Linear gradient, the colors transition along a straight line defined by the Start Point and End Point. The gradient is perpendicular to the line connecting the start and end points.

In Radial gradient, the colors transition radially from a center point outward. The Center Point defines the center of the gradient, while the Radius defines how far the gradient extends from the center.

In Conical gradient, the colors transition around a center point in a circular fashion. The Center Point defines the center of the gradient, while the Angle defines the starting angle of the gradient in degrees.


Type: Boolean
Default: false

Should the start and end points be treated as absolute coordinates (pixels) or as relative coordinates (0 to 1 range).

Type: Gradient Type
Default: Linear

The type of gradient to be used.

Type: Array of Color
Default: null

An array of colors used in the gradient. The number of colors must be equal to the number of offsets.

Type: Array of Float
Default: null

An array of offsets corresponding to each color in the gradient. The number of offsets must be equal to the number of colors.

Type: Integer
Default: 2

The number of color stops in the gradient. Available when the Colors and Offsets inputs are not connected. When the inputs are connected, the count is determined by the length of the arrays.

Type: VecD
Default: (0, 0)

The starting point of the gradient.

Type: VecD
Default: (1, 0)

The ending point of the gradient.

Type: VecD
Default: (0, 0)

Starting point of the Linear gradient. The interpretation of this point depends on the Absolute Coordinates input.

Type: VecD
Default: (1, 0)

Ending point of the Linear gradient. The interpretation of this point depends on the Absolute Coordinates input.

Type: VecD
Default: (0.5, 0.5)

Center point of the Radial and Conical gradient. The interpretation of this point depends on the Absolute Coordinates input.

Type: Double
Default: 0.5

Radius of the Radial gradient. The interpretation of this value depends on the Absolute Coordinates input.

Type: Double
Default: 0

Angle of the Conical gradient in degrees.

Type: Color
Default: White

Color of the color stop. Available when the Colors input is not connected.

Type: Float
Default: 0

Offset of the color stop. Available when the Offsets input is not connected.


Type: Gradient Paintable
Default: null

The resulting gradient paintable that can be used as a color input for other nodes.



All of our content is carefully written by hand, no AI was involved during the process.