/** * Creates a horizontal linear `CanvasGradient` that transitions from * `sourceColor` at `sourceX` to `targetColor` at `targetX`, with each color * stop at the given `opacity`. */ export declare function buildEdgeGradient(ctx: CanvasRenderingContext2D, sourceX: number, targetX: number, sourceColor: string, targetColor: string, opacity: number): CanvasGradient; /** * Creates a vertical linear `CanvasGradient` for a drop-off: `color` at * `opacity` from `startY` down to `DROP_OFF_SOLID_SHARE` of the height, then * fading to transparent at `endY`. */ export declare function buildDropOffGradient(ctx: CanvasRenderingContext2D, startY: number, endY: number, color: string, opacity: number): CanvasGradient; //# sourceMappingURL=build-edge-gradient.d.ts.map