Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CosineGradientOpts

Hierarchy

Index

Properties

Optional easing

easing: FnN

Easing function

Optional mix

mix: ColorMixFn<ReadonlyVec>

Interpolation function

num

num: number

Number of colors to generate

stops

stops: GradientColorStop<ReadonlyVec>[]

Gradient color stops, each a [pos, color]

Optional tx

tx: FnU<Vec, Vec>

Post transformation function for each color

Generated using TypeDoc