Properties of the LinearGradient shader

interface LinearGradientProps {
    angle: number;
    colors: number[];
    stops: number[];
}

Properties

Properties

angle: number

Angle of the LinearGradient shader, Angle in Radians

0
colors: number[]

Array of colors to be used in the LinearGradient shader

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

Array of color stops