/** * Represents one color step for a gradient. */ export interface IColorStep { offset: number; color: string; } /** * Define the current fill style of the canvas. */ export declare class FillStyle { value: string | CanvasGradient | CanvasPattern | undefined; constructor(value?: string | CanvasGradient | CanvasPattern); isValid(): boolean; }