/** @ignore */ /** */ import type { IGradient, IPattern, IGraphics } from "../backend/Renderer"; /** * @ignore */ export interface IColorStop { offset: number; color: string; } /** * Coordinates are in the user space of the shape it fills. * * @ignore */ export declare class LinearGradientDef implements IGradient { x1: number; y1: number; x2: number; y2: number; readonly type = "linear"; stops: Array; constructor(x1: number, y1: number, x2: number, y2: number); addColorStop(offset: number, color: string): void; } /** * Coordinates are in the user space of the shape it fills. * * @ignore */ export declare class RadialGradientDef implements IGradient { x1: number; y1: number; radius1: number; x2: number; y2: number; radius2: number; readonly type = "radial"; stops: Array; constructor(x1: number, y1: number, radius1: number, x2: number, y2: number, radius2: number); addColorStop(offset: number, color: string): void; } /** * A tile drawn from graphics: `background` first, then `graphics`. * * @ignore */ export declare class PatternDef implements IPattern { graphics: IGraphics; background: IGraphics; repetition: string; width: number; height: number; readonly type = "pattern"; constructor(graphics: IGraphics, background: IGraphics, repetition: string, width: number, height: number); } /** * A tile that is already a bitmap. * * @ignore */ export declare class RasterPatternDef implements IPattern { source: HTMLCanvasElement; repetition: string; readonly type = "raster"; constructor(source: HTMLCanvasElement, repetition: string); } //# sourceMappingURL=Paint.d.ts.map