Interfaces
SweepGradientProps
Extends
GradientStops
Properties
c?
optional c?: AnimatedVector;Center of the sweep. center is accepted as an alias.
center?
optional 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.colorsend?
optional end?: Animated<number>;positions?
optional positions?: Animated<number>[];Stop offsets in 0..1. Animatable - each is a value slot when live.
Inherited from
GradientStops.positionsref?
optional ref?: NodeHandle;A handle from useNode(), for patching this gradient without a render.
Inherited from
GradientStops.refstart?
optional start?: Animated<number>;Angular range in degrees; defaults to a full 0-360 turn (as in Skia).