Skip to content

gradientOf beta ​

Function of @v12-engine/editor

ts
export declare function gradientOf(stops: readonly GradientStop[]): Gradient;

Stops as a gradient, as short as says the same: one colour, [from, to], else the stops