GradientStop beta
Interface of @v12-engine/editor
ts
export interface GradientStopA stop of a gradient as the gradient editor has it: when, its colour (#rrggbb, #rrggbbaa with how opaque), and another for a random between the two
Members
color
ts
color: string;The stop's colour as CSS text: #rrggbb, or #rrggbbaa with its opacity
other
ts
other?: string;A second colour at the stop, for a random between the two; none for a fixed colour
t
ts
t: number;When on the gradient the stop is, from 0 (born) to 1 (gone)