Properties of the RadialGradientEffect effect

interface RadialGradientEffectProps {
    colors?: number[];
    height?: number;
    pivot?: number[];
    stops?: number[];
    width?: number;
}

Hierarchy (view full)

Properties

colors?: number[]

Array of colors to be used in the RadialGradientEffect

[0xff000000, 0xffffffff]
height?: number

height of the RadialGradientEffect

if not defined uses the width value

pivot?: number[]

center point of where the RadialGradientEffect is drawn

stops?: number[]

Array of color stops

width?: number

Width of the RadialGradientEffect