Skip to content

gradientAt beta ​

Function of @v12-engine/editor

ts
export declare function gradientAt(stops: readonly GradientStop[], t: number): string;

A gradient's colour at a time of life, as hex, between the stops around it