Properties of the LinearGradientEffect effect

interface LinearGradientEffectProps {
    angle?: number;
    colors?: number[];
    stops?: number[];
}

Hierarchy (view full)

Properties

Properties

angle?: number

Angle of the LinearGradientEffect, Angle in Radians

0
colors?: number[]

Array of colors to be used in the LinearGradientEffect

[0xff000000, 0xffffffff]
stops?: number[]

Array of color stops