On this page

Type Alias GradientColoringFragmentOptions

GradientColoringFragmentOptions

type GradientColoringFragmentOptions = {
    decode: DecoderOptions;
    opacity?: number;
    smooth?: boolean;
    stops?: ColorStop[];
}
Index

Properties

opacity?: number

0-1

smooth?: boolean

Apply the gradient smoothly, rather then discrete steps.

stops?: ColorStop[]

The color stops of the gradient.

Was this helpful?
SDK JS
Modules
Reference
types
GradientColoringFragmentOptions