Skip to content

Decompose Gradient

Decompose Gradient
Colors
Offsets
Type
Absolute Coordinates
Start Point
End Point
Center Point
Radius
Angle
Gradient
null

Category Color
Is Pair Node: No


Decomposes a gradient into its constituent colors, offsets, and properties.


Type: Gradient Paintable
Default: null

Input gradient paintable to decompose.


Type: Array of Color
Default: null

An array of colors extracted from the input gradient.

Type: Array of Float
Default: null

An array of offsets corresponding to each color in the input gradient.

Type: Gradient Type
Default: Linear

The type of the input gradient.

Type: Boolean
Default: false

Determines whether the gradient uses absolute coordinates. If false, the gradient will use relative coordinates.

Type: VecD
Default: (0, 0)

The starting point of the Linear gradient.

Type: VecD
Default: (1, 0)

The ending point of the Linear gradient.

Type: VecD
Default: (0.5, 0.5)

The center point of the Radial and Conical gradient.

Type: Double
Default: 0

The radius of the Radial gradient.

Type: Double
Default: 0

The angle of the Conical gradient.



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