Interfaces

RadialGradientProps

Extends

  • GradientStops

Properties

center

center: AnimatedVector;

colors

colors: Color[];

Stop colours. An entry given as [r, g, b, a] components with a SharedValue channel animates; a handle's set({ colors }) patches them all.

Inherited from

GradientStops.colors

positions?

optional positions?: Animated<number>[];

Stop offsets in 0..1. Animatable - each is a value slot when live.

Inherited from

GradientStops.positions

r

r: Animated<number>;

ref?

optional ref?: NodeHandle;

A handle from useNode(), for patching this gradient without a render.

Inherited from

GradientStops.ref

On this page